Skip to main content
POST
/
projects
Create projects
curl --request POST \
  --url https://api-staging.pixwel.com/api/projects \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "_id": "5699c19ee3ab46716f8b4568",
  "studio": "51e1495bd5cddc8041000000",
  "logo": "5699c2dae3ab4654728b456a",
  "name": "10 Cloverfield Lane",
  "importName": "Cloverfieldln",
  "slug": "cloverfieldln",
  "filePrefix": "CLOVERFIELDLN",
  "archived": true,
  "verified": true,
  "created": 1452917150,
  "$flags": [
    "<unknown>"
  ],
  "$links": {
    "self": "//api-staging.pixwel.com/api/Projects/cloverfieldln",
    "studio": "//api-staging.pixwel.com/api/Studios/paramount",
    "logo": "//api-staging.pixwel.com/api/Files/5699c2dae3ab4654728b456a"
  },
  "$permissions": {
    "canAutosub": true,
    "sources": {
      "requests": {
        "languages": [
          "<unknown>"
        ],
        "countries": [
          "<unknown>"
        ]
      },
      "autosubs": {
        "languages": [
          "<unknown>"
        ],
        "countries": [
          "<unknown>"
        ]
      }
    },
    "access": [
      "autosubs"
    ],
    "tags": {
      "online": true,
      "broadcast": true,
      "dcp": true,
      "cmyk": true,
      "rgb": true
    },
    "ingest": [
      "bumpers"
    ]
  }
}
'
{
  "_id": "5699c19ee3ab46716f8b4568",
  "studio": "51e1495bd5cddc8041000000",
  "logo": "5699c2dae3ab4654728b456a",
  "name": "10 Cloverfield Lane",
  "importName": "Cloverfieldln",
  "slug": "cloverfieldln",
  "filePrefix": "CLOVERFIELDLN",
  "archived": true,
  "verified": true,
  "created": 1452917150,
  "$flags": [
    "<unknown>"
  ],
  "$links": {
    "self": "//api-staging.pixwel.com/api/Projects/cloverfieldln",
    "studio": "//api-staging.pixwel.com/api/Studios/paramount",
    "logo": "//api-staging.pixwel.com/api/Files/5699c2dae3ab4654728b456a"
  },
  "$permissions": {
    "canAutosub": true,
    "sources": {
      "requests": {
        "languages": [
          "<unknown>"
        ],
        "countries": [
          "<unknown>"
        ]
      },
      "autosubs": {
        "languages": [
          "<unknown>"
        ],
        "countries": [
          "<unknown>"
        ]
      }
    },
    "access": [
      "autosubs"
    ],
    "tags": {
      "online": true,
      "broadcast": true,
      "dcp": true,
      "cmyk": true,
      "rgb": true
    },
    "ingest": [
      "bumpers"
    ]
  }
}

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:

"5699c19ee3ab46716f8b4568"

studio
string
Example:

"51e1495bd5cddc8041000000"

Example:

"5699c2dae3ab4654728b456a"

name
string
Example:

"10 Cloverfield Lane"

importName
string
Example:

"Cloverfieldln"

slug
string
Example:

"cloverfieldln"

filePrefix
string
Example:

"CLOVERFIELDLN"

archived
boolean
Example:

true

verified
boolean
Example:

true

created
integer
Example:

1452917150

$flags
any[]
$permissions
object

Response

200 - application/json

OK

_id
string
Example:

"5699c19ee3ab46716f8b4568"

studio
string
Example:

"51e1495bd5cddc8041000000"

Example:

"5699c2dae3ab4654728b456a"

name
string
Example:

"10 Cloverfield Lane"

importName
string
Example:

"Cloverfieldln"

slug
string
Example:

"cloverfieldln"

filePrefix
string
Example:

"CLOVERFIELDLN"

archived
boolean
Example:

true

verified
boolean
Example:

true

created
integer
Example:

1452917150

$flags
any[]
$permissions
object