Skip to main content
POST
/
studios
Create studios
curl --request POST \
  --url https://api-staging.pixwel.com/api/studios \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "_id": "51e1495bd5cddc8041000002",
  "logo": "595ffe9ecb121c404c8b4568",
  "coordinator": "51e15c58d5cddced4e000002",
  "name": "20th Century Fox",
  "slug": "fox",
  "previewWatermarkFormat": "FULL_SCREEEN_DIAGONAL",
  "created": 1373718875,
  "$links": {
    "self": "//api-staging.pixwel.com/api/Studios/fox",
    "coordinator": "//api-staging.pixwel.com/api/Groups/51e15c58d5cddced4e000002",
    "logo": "//api-staging.pixwel.com/api/Files/595ffe9ecb121c404c8b4568"
  }
}
'
{
  "_id": "51e1495bd5cddc8041000002",
  "logo": "595ffe9ecb121c404c8b4568",
  "coordinator": "51e15c58d5cddced4e000002",
  "name": "20th Century Fox",
  "slug": "fox",
  "previewWatermarkFormat": "FULL_SCREEEN_DIAGONAL",
  "created": 1373718875,
  "$links": {
    "self": "//api-staging.pixwel.com/api/Studios/fox",
    "coordinator": "//api-staging.pixwel.com/api/Groups/51e15c58d5cddced4e000002",
    "logo": "//api-staging.pixwel.com/api/Files/595ffe9ecb121c404c8b4568"
  }
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
_id
string
Example:

"51e1495bd5cddc8041000002"

Example:

"595ffe9ecb121c404c8b4568"

coordinator
string
Example:

"51e15c58d5cddced4e000002"

name
string
Example:

"20th Century Fox"

slug
string
Example:

"fox"

previewWatermarkFormat
string
Example:

"FULL_SCREEEN_DIAGONAL"

created
integer
Example:

1373718875

Response

200 - application/json

OK

_id
string
Example:

"51e1495bd5cddc8041000002"

Example:

"595ffe9ecb121c404c8b4568"

coordinator
string
Example:

"51e15c58d5cddced4e000002"

name
string
Example:

"20th Century Fox"

slug
string
Example:

"fox"

previewWatermarkFormat
string
Example:

"FULL_SCREEEN_DIAGONAL"

created
integer
Example:

1373718875