Nurama Developers
Projects

Release a staged (unreleased) public file system

Flips a public file system's status from `unreleased` to `active`, making it externally accessible via its public token and recomputing the `hasActivePublicFileSystem` flag on its assets. Requires `canUpdatePublicFileSystem`. Returns `publicNotUnreleased` (400) if the record isn't in the `unreleased` state.

POST
/projects/{projectId}/public/{publicId}/release

Flips a public file system's status from unreleased to active, making it externally accessible via its public token and recomputing the hasActivePublicFileSystem flag on its assets. Requires canUpdatePublicFileSystem. Returns publicNotUnreleased (400) if the record isn't in the unreleased state.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

projectId*string

Unique ID of the project.

Formatuuid
publicId*string

The ID of the public file system. Must belong to projectId.

Formatuuid

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/public/497f6eca-6276-4993-bfeb-53cbbbba6f08/release"
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "ownerResourceType": "project",  "ownerResourceId": "7d5ad1db-89f9-42df-868c-86a72347ae1c",  "token": "string",  "title": "string",  "description": "string",  "inventory": {    "image": 12,    "video": 2,    "folder": 3  },  "status": "active",  "expires": "2019-08-24T14:15:22Z",  "hideCreators": true,  "allowAnonymousComments": true,  "creatorId": "688ebf54-d343-4104-8711-82c2feac534a",  "creator": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "firstName": "string",    "middleName": "string",    "lastName": "string",    "company": "string",    "userName": "string",    "displayName": "string",    "avatarId": "ac572b6e-802b-4b9e-a602-0786d4441e67",    "avatar": "01d8bd6c-6014-46aa-b5b1-14d337c9c779",    "color": "#ffffff",    "email": "user@example.com",    "isEmailVerified": false,    "hasPassword": false,    "allowOauthAutolink": true,    "mfaEnabled": false,    "mfaType": "totp",    "status": "active",    "accountType": "standard",    "globalRoles": [      "string"    ],    "preferences": {},    "language": "en",    "externalIds": {},    "lastSeen": "2019-08-24T14:15:22Z",    "hasUsedTrial": false,    "hasUsedDemo": false,    "hasSeen": [      "string"    ],    "awards": [      "staff"    ],    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z"  },  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z"}