V1::LibrariesController
Libraries
show
View a content library
URL
GET /libraries/:idParâmetros obrigatórios
Nome | Tipo | Descrição |
---|---|---|
id | Integer | Identifier the library |
Objeto resposta
Library | The requested library |
update
Update an existing library
URL
PUT/PATCH /library/:idParâmetros obrigatórios
Nome | Tipo | Descrição |
---|---|---|
library | Hash | The library to update |
library[organization_id] | Integer | Organization of the library |
library[samba_access_token] | Integer | Library credential to access Samba Videos API |
library[pids] | String | Samba projects ids integrated with this library |
Parâmetros opcionais
Nome | Tipo | Descrição |
---|---|---|
library[library_resource_ids] | Array<Integer> | Library resources of the library |
sync_trigger
Sync library with Samba Videos API
URL
POST /library/:id/syncParâmetros opcionais
Nome | Tipo | Descrição |
---|---|---|
samba_pid | String | Samba Videos project to syncronize |
Objeto resposta
Library | only sync_status and last_sync_at attributes |
sync_status
Fetch library syncronization status
URL
GET /library/:id/syncObjeto resposta
Library | only sync_status and last_sync_at attributes |