Headers

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

Examples

// Successful request
GET /api/v2/publishing_channels
200
{
  "publishing_channels": [
    {
      "id": 1,
      "name": "test_publishing_channel",
      "user_id": 66,
      "config_id": 1,
      "config_type": "FtpConfig",
      "created_at": "2023-11-27T09:42:51.185Z",
      "updated_at": "2023-11-27T09:42:51.185Z",
      "private": false,
      "config": {
        "id": 1,
        "host": "test_ftp_server.com/ftp",
        "username": "test_user",
        "path": "/ftp/folder",
        "created_at": "2023-11-27T09:42:51.159Z",
        "updated_at": "2023-11-27T09:42:51.159Z"
      },
      "users": [],
      "authorized_with": "password"
    }
  ]
}

Errors

Code Description
401 Unauthorized
404 Not found
500 Internal Server Error
422 Missing parameters