Errors

Code Description
401 Unauthorized
500 Internal Server Error
422 Missing parameters

Examples

PUT /api/v2/projects/K42wT3wBW4fR4Me2tH2q
{
  "title": "Modified Sample Project",
  "description": "Modified Description",
  "category": "Modified Category",
  "tags": [
    "Test",
    "Tags",
    "Here"
  ],
  "external_id": "modified_external_id"
}
200
{
  "project": {
    "id": "K42wT3wBW4fR4Me2tH2q",
    "external_id": "modified_external_id",
    "project_id": null,
    "owner": "support@mediapocket.io",
    "description": "Modified Description",
    "title": "Modified Sample Project",
    "category": "Modified Category",
    "tags": [
      "Test",
      "Tags",
      "Here"
    ],
    "media_type": "project",
    "modification_date": "2021-10-05T09:02:35Z",
    "created_date": "2021-10-05T09:02:33Z",
    "status": "open",
    "deleted": false
  },
  "errors": {}
}

Params

Param name Description
title
optional

Title

Validations:

  • Must be a String

description
optional

Description

Validations:

  • Must be a String

category
optional

Category

Validations:

  • Must be a String

tags
optional

Tags

Validations:

  • Must be an array of String

external_id
optional

External ID

Validations:

  • Must be a String

Headers

Header name Description
Content-Type
required
application/json
X-API-KEY
required
YOUR_API_KEY