General Notes
- This service offers the event CRUD Operations for the admin UI.
- Important: This service is for exclusive use by the module admin-ui. Its API might change anytime without prior notice. Any dependencies other than the admin UI will be strictly ignored. DO NOT use this for integration of third-party applications.
Table of Contents
- GET /{eventId}/asset/assets.json
- GET /{eventId}/asset/attachment/{id}.json
- GET /{eventId}/asset/attachment/attachments.json
- GET /{eventId}/asset/catalog/{id}.json
- GET /{eventId}/asset/catalog/catalogs.json
- GET /catalogAdapters
- GET /{eventId}
- GET /{eventId}/access.json
- GET /{eventId}/comment/{commentId}
- GET /{eventId}/comments
- GET /{eventId}/workflows/{workflowId}/errors/{errorId}.json
- GET /{eventId}/workflows/{workflowId}/errors.json
- GET /{eventId}/tobira/pages
- GET /{eventId}/metadata.json
- GET /{eventId}/workflows/{workflowId}/operations/{operationPosition}
- GET /{eventId}/workflows/{workflowId}/operations.json
- GET /{eventId}/publications.json
- GET /events.json
- GET /{eventId}/scheduling.json
- GET /{eventId}/workflows/{workflowId}
- GET /{eventId}/workflows.json
- GET /{eventId}/asset/media/{id}.json
- GET /{eventId}/asset/media/media.json
- GET /new/metadata
- GET /new/processing
- GET /{eventId}/asset/publication/{id}.json
- GET /{eventId}/asset/publication/publications.json
- GET /{eventId}/hasActiveTransaction
- POST /{eventId}/access
- PUT /bulk/update
- POST /new/conflicts
- POST /{eventId}/comment
- POST /{eventId}/comment/{commentId}/reply
- POST /new
- DELETE /{eventId}
- DELETE /{eventId}/comment/{commentId}
- DELETE /{eventId}/comment/{commentId}/{replyId}
- POST /deleteEvents
- DELETE /{eventId}/workflows/{workflowId}
- POST /bulk/conflicts
- POST /events/metadata.json
- POST /scheduling.json
- POST /{eventId}/comment/{commentId}
- POST /{eventId}/assets
- PUT /{eventId}/comment/{commentId}
- PUT /{eventId}/comment/{commentId}/{replyId}
- PUT /{eventId}/metadata
- PUT /{eventId}/scheduling
- PUT /events/metadata
- PUT /{eventId}/workflows
- PUT /{eventId}/workflows/{workflowId}/action/{action}
- POST /workflowProperties
Read methods
Method / Path: | GET /{eventId}/asset/assets.json |
---|---|
Description: | Returns the number of assets from each types as JSON |
Path params: | eventId: The event id |
Optional (query) params: | NONE |
Response formats: | application/json |
Status codes: |
200: OK, Returns the number of assets from each types as JSON 404: Not Found, No event with this identifier was found. |
Notes: |
|
Testing: |
Sample:
/{eventId}/asset/assets.json
Testing form (click to reveal)
|
Method / Path: | GET /{eventId}/asset/attachment/{id}.json |
---|---|
Description: | Returns the details of an attachment from the given event and attachment id as JSON |
Path params: |
eventId:
The event id id: The attachment id |
Optional (query) params: | NONE |
Response formats: | application/json |
Status codes: |
200: OK, Returns the details of an attachment from the given event and attachment id as JSON 404: Not Found, No event or attachment with this identifier was found. |
Notes: |
|
Testing: |
Sample:
/{eventId}/asset/attachment/{id}.json
Testing form (click to reveal)
|
Method / Path: | GET /{eventId}/asset/attachment/attachments.json |
---|---|
Description: | Returns a list of attachments from the given event as JSON |
Path params: | eventId: The event id |
Optional (query) params: | NONE |
Response formats: | application/json |
Status codes: |
200: OK, Returns a list of attachments from the given event as JSON 404: Not Found, No event with this identifier was found. |
Notes: |
|
Testing: |
Sample:
/{eventId}/asset/attachment/attachments.json
Testing form (click to reveal)
|
Method / Path: | GET /{eventId}/asset/catalog/{id}.json |
---|---|
Description: | Returns the details of a catalog from the given event and catalog id as JSON |
Path params: |
eventId:
The event id id: The catalog id |
Optional (query) params: | NONE |
Response formats: | application/json |
Status codes: |
200: OK, Returns the details of a catalog from the given event and catalog id as JSON 404: Not Found, No event or catalog with this identifier was found. |
Notes: |
|
Testing: |
Sample:
/{eventId}/asset/catalog/{id}.json
Testing form (click to reveal)
|
Method / Path: | GET /{eventId}/asset/catalog/catalogs.json |
---|---|
Description: | Returns a list of catalogs from the given event as JSON |
Path params: | eventId: The event id |
Optional (query) params: | NONE |
Response formats: | application/json |
Status codes: |
200: OK, Returns a list of catalogs from the given event as JSON 404: Not Found, No event with this identifier was found. |
Notes: |
|
Testing: |
Sample:
/{eventId}/asset/catalog/catalogs.json
Testing form (click to reveal)
|
Method / Path: | GET /catalogAdapters |
---|---|
Description: | Returns the available catalog UI adapters as JSON |
Path params: | NONE |
Optional (query) params: | NONE |
Response formats: | application/json |
Status codes: | 200: OK, Returns the available catalog UI adapters as JSON |
Notes: |
|
Testing: |
Sample:
/catalogAdapters
/admin-ng/event/catalogAdapters
|
Method / Path: | GET /{eventId} |
---|---|
Description: | Returns the event by the given id as JSON |
Path params: | eventId: The event id |
Optional (query) params: | NONE |
Response formats: | application/json |
Status codes: |
200: OK, Returns the event as JSON 404: Not Found, No event with this identifier was found. |
Notes: |
|
Testing: |
Sample:
/{eventId}
Testing form (click to reveal)
|
Method / Path: | GET /{eventId}/access.json |
---|---|
Description: | Get the access information of an event |
Path params: | eventId: The event identifier |
Optional (query) params: | NONE |
Response formats: | application/json |
Status codes: |
400: Bad Request, The required form params were missing in the request. 404: Not Found, If the event has not been found. 200: OK, The access information |
Notes: |
|
Testing: |
Sample:
/{eventId}/access.json
Testing form (click to reveal)
|
Method / Path: | GET /{eventId}/comment/{commentId} |
---|---|
Description: | Returns the comment with the given identifier |
Path params: |
eventId:
The event id commentId: The comment identifier |
Optional (query) params: | NONE |
Response formats: | application/json |
Status codes: |
200: OK, The comment as JSON. 404: Not Found, No event or comment with this identifier was found. |
Notes: |
|
Testing: |
Sample:
/{eventId}/comment/{commentId}
Testing form (click to reveal)
|
Method / Path: | GET /{eventId}/comments |
---|---|
Description: | Returns all the data related to the comments tab in the event details modal as JSON |
Path params: | eventId: The event id |
Optional (query) params: | NONE |
Response formats: | application/json |
Status codes: |
200: OK, Returns all the data related to the event comments tab as JSON 404: Not Found, No event with this identifier was found. |
Notes: |
|
Testing: |
Sample:
/{eventId}/comments
Testing form (click to reveal)
|
Method / Path: | GET /{eventId}/workflows/{workflowId}/errors/{errorId}.json |
---|---|
Description: | Returns all the data related to the workflow/error tab in the event details modal as JSON |
Path params: |
eventId:
The event id workflowId: The workflow id errorId: The error id |
Optional (query) params: | NONE |
Response formats: | application/json |
Status codes: |
200: OK, Returns all the data related to the event workflow/error tab as JSON 400: Bad Request, Unable to parse workflowId 404: Not Found, No event with this identifier was found. |
Notes: |
|
Testing: |
Sample:
/{eventId}/workflows/{workflowId}/errors/{errorId}.json
Testing form (click to reveal)
|
Method / Path: | GET /{eventId}/workflows/{workflowId}/errors.json |
---|---|
Description: | Returns all the data related to the workflow/errors tab in the event details modal as JSON |
Path params: |
eventId:
The event id workflowId: The workflow id |
Optional (query) params: | NONE |
Response formats: | application/json |
Status codes: |
200: OK, Returns all the data related to the event workflow/errors tab as JSON 400: Bad Request, Unable to parse workflowId 404: Not Found, No event with this identifier was found. |
Notes: |
|
Testing: |
Sample:
/{eventId}/workflows/{workflowId}/errors.json
Testing form (click to reveal)
|
Method / Path: | GET /{eventId}/tobira/pages |
---|---|
Description: | Returns the pages of a connected Tobira instance that contain the given event |
Path params: | eventId: The event identifier |
Optional (query) params: | NONE |
Status codes: |
200: OK, The Tobira pages containing the given event 404: Not Found, Tobira doesn't know about the given event 503: Service Unavailable, Tobira is not configured (correctly) |
Notes: |
|
Testing: |
Sample:
/{eventId}/tobira/pages
Testing form (click to reveal)
|
Method / Path: | GET /{eventId}/metadata.json |
---|---|
Description: | Returns all the data related to the metadata tab in the event details modal as JSON |
Path params: | eventId: The event id |
Optional (query) params: | NONE |
Response formats: | application/json |
Status codes: |
200: OK, Returns all the data related to the event metadata tab as JSON 404: Not Found, No event with this identifier was found. |
Notes: |
|
Testing: |
Sample:
/{eventId}/metadata.json
Testing form (click to reveal)
|
Method / Path: | GET /{eventId}/workflows/{workflowId}/operations/{operationPosition} |
---|---|
Description: | Returns all the data related to the workflow/operation tab in the event details modal as JSON |
Path params: |
eventId:
The event id workflowId: The workflow id operationPosition(Default value=0): The operation position |
Optional (query) params: | NONE |
Response formats: | application/json |
Status codes: |
200: OK, Returns all the data related to the event workflow/operation tab as JSON 400: Bad Request, Unable to parse workflowId or operationPosition 404: Not Found, No operation with these identifiers was found. |
Notes: |
|
Testing: |
Sample:
/{eventId}/workflows/{workflowId}/operations/{operationPosition}
Testing form (click to reveal)
|
Method / Path: | GET /{eventId}/workflows/{workflowId}/operations.json |
---|---|
Description: | Returns all the data related to the workflow/operations tab in the event details modal as JSON |
Path params: |
eventId:
The event id workflowId: The workflow id |
Optional (query) params: | NONE |
Response formats: | application/json |
Status codes: |
200: OK, Returns all the data related to the event workflow/operations tab as JSON 400: Bad Request, Unable to parse workflowId 404: Not Found, No event with this identifier was found. |
Notes: |
|
Testing: |
Sample:
/{eventId}/workflows/{workflowId}/operations.json
Testing form (click to reveal)
|
Method / Path: | GET /{eventId}/publications.json |
---|---|
Description: | Returns all the data related to the publications tab in the event details modal as JSON |
Path params: | eventId: The event id (mediapackage id). |
Optional (query) params: | NONE |
Response formats: | application/json |
Status codes: |
200: OK, Returns all the data related to the event publications tab as JSON 404: Not Found, No event with this identifier was found. |
Notes: |
|
Testing: |
Sample:
/{eventId}/publications.json
Testing form (click to reveal)
|
Method / Path: | GET /events.json |
---|---|
Description: | Returns all the events as JSON |
Path params: | NONE |
Optional (query) params: |
filter:
The filter used for the query. They should be formated like that: 'filter1:value1,filter2:value2' sort: The order instructions used to sort the query result. Must be in the form ' limit(Default value=0): The maximum number of items to return per page. offset(Default value=0): The page number. getComments: If comments should be fetched |
Response formats: | application/json |
Status codes: | 200: OK, Returns all events as JSON |
Notes: |
|
Testing: |
Sample:
/events.json?filter={filter}&sort={sort}&limit=0&offset=0&getComments={getComments}
Testing form (click to reveal)
|
Method / Path: | GET /{eventId}/scheduling.json |
---|---|
Description: | Returns all of the scheduling metadata for an event |
Path params: | eventId: The event id (mediapackage id). |
Optional (query) params: | NONE |
Response formats: | application/json |
Status codes: |
200: OK, Returns all the data related to the event scheduling tab as JSON 404: Not Found, No event with this identifier was found. |
Notes: |
|
Testing: |
Sample:
/{eventId}/scheduling.json
Testing form (click to reveal)
|
Method / Path: | GET /{eventId}/workflows/{workflowId} |
---|---|
Description: | Returns all the data related to the single workflow tab in the event details modal as JSON |
Path params: |
eventId:
The event id workflowId: The workflow id |
Optional (query) params: | NONE |
Response formats: | application/json |
Status codes: |
200: OK, Returns all the data related to the event single workflow tab as JSON 400: Bad Request, Unable to parse workflowId 404: Not Found, No event with this identifier was found. |
Notes: |
|
Testing: |
Sample:
/{eventId}/workflows/{workflowId}
Testing form (click to reveal)
|
Method / Path: | GET /{eventId}/workflows.json |
---|---|
Description: | Returns all the data related to the workflows tab in the event details modal as JSON |
Path params: | eventId: The event id |
Optional (query) params: | NONE |
Response formats: | application/json |
Status codes: |
200: OK, Returns all the data related to the event workflows tab as JSON 404: Not Found, No event with this identifier was found. |
Notes: |
|
Testing: |
Sample:
/{eventId}/workflows.json
Testing form (click to reveal)
|
Method / Path: | GET /{eventId}/asset/media/{id}.json |
---|---|
Description: | Returns the details of a media from the given event and media id as JSON |
Path params: |
eventId:
The event id id: The media id |
Optional (query) params: | NONE |
Response formats: | application/json |
Status codes: |
200: OK, Returns the media of a catalog from the given event and media id as JSON 404: Not Found, No event or media with this identifier was found. |
Notes: |
|
Testing: |
Sample:
/{eventId}/asset/media/{id}.json
Testing form (click to reveal)
|
Method / Path: | GET /{eventId}/asset/media/media.json |
---|---|
Description: | Returns a list of media from the given event as JSON |
Path params: | eventId: The event id |
Optional (query) params: | NONE |
Response formats: | application/json |
Status codes: |
200: OK, Returns a list of media from the given event as JSON 404: Not Found, No event with this identifier was found. |
Notes: |
|
Testing: |
Sample:
/{eventId}/asset/media/media.json
Testing form (click to reveal)
|
Method / Path: | GET /new/metadata |
---|---|
Description: | Returns all the data related to the metadata tab in the new event modal as JSON |
Path params: | NONE |
Optional (query) params: | NONE |
Status codes: | 200: OK, Returns all the data related to the event metadata tab as JSON |
Notes: |
|
Testing: |
Sample:
/new/metadata
/admin-ng/event/new/metadata
|
Method / Path: | GET /new/processing |
---|---|
Description: | Returns all the data related to the processing tab in the new event modal as JSON |
Path params: | NONE |
Optional (query) params: | tags: A comma separated list of tags to filter the workflow definitions |
Status codes: | 200: OK, Returns all the data related to the event processing tab as JSON |
Notes: |
|
Testing: |
Sample:
/new/processing?tags={tags}
Testing form (click to reveal)
|
Method / Path: | GET /{eventId}/asset/publication/{id}.json |
---|---|
Description: | Returns the details of a publication from the given event and publication id as JSON |
Path params: |
eventId:
The event id id: The publication id |
Optional (query) params: | NONE |
Response formats: | application/json |
Status codes: |
200: OK, Returns the publication of a catalog from the given event and publication id as JSON 404: Not Found, No event or publication with this identifier was found. |
Notes: |
|
Testing: |
Sample:
/{eventId}/asset/publication/{id}.json
Testing form (click to reveal)
|
Method / Path: | GET /{eventId}/asset/publication/publications.json |
---|---|
Description: | Returns a list of publications from the given event as JSON |
Path params: | eventId: The event id |
Optional (query) params: | NONE |
Response formats: | application/json |
Status codes: |
200: OK, Returns a list of publications from the given event as JSON 404: Not Found, No event with this identifier was found. |
Notes: |
|
Testing: |
Sample:
/{eventId}/asset/publication/publications.json
Testing form (click to reveal)
|
Method / Path: | GET /{eventId}/hasActiveTransaction |
---|---|
Description: | Returns whether there is currently a transaction in progress for the given event |
Path params: | eventId: The event id |
Optional (query) params: | NONE |
Response formats: | text/plain |
Status codes: |
200: OK, Returns whether there is currently a transaction in progress for the given event 404: Not Found, No event with this identifier was found. |
Notes: |
|
Testing: |
Sample:
/{eventId}/hasActiveTransaction
Testing form (click to reveal)
|
Write methods
Method / Path: | POST /{eventId}/access |
---|---|
Description: | Immediate application of an ACL to an event |
Path params: | eventId: The event ID |
Required (form) params: | acl: The ACL to apply |
Optional (form) params: | NONE |
Status codes: |
200: OK, The ACL has been successfully applied 400: Bad Request, Unable to parse the given ACL 404: Not Found, The the event has not been found 401: Unauthorized, Not authorized to perform this action 500: Internal Server Error, Internal error |
Notes: |
|
Testing: |
Sample:
/{eventId}/access
Testing form (click to reveal)
|
Method / Path: | PUT /bulk/update |
---|---|
Description: | Update all of the given events at once |
Path params: | NONE |
Required (form) params: | update: The list of groups with events and fields to update. |
Optional (form) params: | NONE |
Status codes: |
200: OK, All events have been updated successfully. 400: Bad Request, Could not parse update instructions. 500: Internal Server Error, Field updating metadata or scheduling information. Some events may have been updated. Details are available in the response body. 404: Not Found, The events in the response body were not found. No events were updated. |
Notes: |
|
Testing: |
Sample:
/bulk/update
Testing form (click to reveal)
|
Method / Path: | POST /new/conflicts |
---|---|
Description: | Checks if the current scheduler parameters are in a conflict with another event |
Path params: | NONE |
Required (form) params: | metadata: The metadata as JSON |
Optional (form) params: | NONE |
Status codes: |
204: No Content, No conflicting events found 409: Conflict, There is a conflict 400: Bad Request, Missing or invalid parameters |
Notes: |
|
Testing: |
Sample:
/new/conflicts
Testing form (click to reveal)
|
Method / Path: | POST /{eventId}/comment |
---|---|
Description: | Creates a comment related to the event given by the identifier |
Path params: | eventId: The event id |
Required (form) params: | text: The comment text |
Optional (form) params: |
resolved:
The comment resolved status reason: The comment reason |
Response formats: | application/json |
Status codes: |
201: Created, The comment has been created. 400: Bad Request, If no text ist set. 404: Not Found, No event with this identifier was found. |
Notes: |
|
Testing: |
Sample:
/{eventId}/comment
Testing form (click to reveal)
|
Method / Path: | POST /{eventId}/comment/{commentId}/reply |
---|---|
Description: | Creates an event comment reply |
Path params: |
eventId:
The event id commentId: The comment identifier |
Required (form) params: | text: The comment reply text |
Optional (form) params: | resolved: Flag defining if this reply solve or not the comment. |
Status codes: |
404: Not Found, The event or comment to extend with a reply has not been found. 400: Bad Request, If no text is set. 200: OK, The updated comment as JSON. |
Notes: |
|
Testing: |
Sample:
/{eventId}/comment/{commentId}/reply
Testing form (click to reveal)
|
Method / Path: | POST /new |
---|---|
Description: | Creates a new event by the given metadata as JSON and the files in the body |
Path params: | NONE |
Required (form) params: | metadata: The metadata as JSON |
Optional (form) params: | NONE |
Status codes: |
201: Created, Event sucessfully added 400: Bad Request, If the metadata is not set or couldn't be parsed |
Notes: |
|
Testing: |
Sample:
/new
Testing form (click to reveal)
|
Method / Path: | DELETE /{eventId} |
---|---|
Description: | Delete a single event. |
Path params: | eventId: The id of the event to delete. |
Optional (query) params: | NONE |
Response formats: | application/json |
Status codes: |
200: OK, The event has been deleted. 202: Accepted, The event will be retracted and deleted afterwards. 401: Unauthorized, If the current user is not authorized to perform this action |
Notes: |
|
Testing: |
Sample:
/{eventId}
Testing form (click to reveal)
|
Method / Path: | DELETE /{eventId}/comment/{commentId} |
---|---|
Description: | Deletes a event related comment by its identifier |
Path params: |
eventId:
The event id commentId: The comment id |
Optional (query) params: | NONE |
Response formats: | application/json |
Status codes: |
204: No Content, The event related comment has been deleted. 404: Not Found, No event or comment with this identifier was found. |
Notes: |
|
Testing: |
Sample:
/{eventId}/comment/{commentId}
Testing form (click to reveal)
|
Method / Path: | DELETE /{eventId}/comment/{commentId}/{replyId} |
---|---|
Description: | Delete an event comment reply |
Path params: |
eventId:
The event id commentId: The comment identifier replyId: The comment reply identifier |
Optional (query) params: | NONE |
Status codes: |
404: Not Found, No event comment or reply with this identifier was found. 200: OK, The updated comment as JSON. |
Notes: |
|
Testing: |
Sample:
/{eventId}/comment/{commentId}/{replyId}
Testing form (click to reveal)
|
Method / Path: | POST /deleteEvents |
---|---|
Description: | Deletes a json list of events by their given ids e.g. ["1dbe7255-e17d-4279-811d-a5c7ced689bf", "04fae22b-0717-4f59-8b72-5f824f76d529"] |
Path params: | NONE |
Optional (form) params: | NONE |
Response formats: | application/json |
Status codes: |
200: OK, Events have been deleted 400: Bad Request, The list of ids could not be parsed into a json list. 401: Unauthorized, If the current user is not authorized to perform this action |
Notes: |
|
Testing: |
Sample:
/deleteEvents
Testing form (click to reveal)
|
Method / Path: | DELETE /{eventId}/workflows/{workflowId} |
---|---|
Description: | Deletes a workflow |
Path params: |
eventId:
The event identifier workflowId(Default value=0): The workflow identifier |
Optional (query) params: | NONE |
Status codes: |
400: Bad Request, When trying to delete the latest workflow of the event. 404: Not Found, If the event or the workflow has not been found. 204: No Content, The method does not return any content |
Notes: |
|
Testing: |
Sample:
/{eventId}/workflows/{workflowId}
Testing form (click to reveal)
|
Method / Path: | POST /bulk/conflicts |
---|---|
Description: | Checks if the current bulk update scheduling settings are in a conflict with another event |
Path params: | NONE |
Required (form) params: | update: The list of events and fields to update. |
Optional (form) params: | NONE |
Status codes: |
204: No Content, No conflicting events found 404: Not Found, The events in the response body were not found. No events were updated. 409: Conflict, There is a conflict 400: Bad Request, Missing or invalid parameters |
Notes: |
|
Testing: |
Sample:
/bulk/conflicts
Testing form (click to reveal)
|
Method / Path: | POST /events/metadata.json |
---|---|
Description: | Returns all the data related to the edit events metadata modal as JSON |
Path params: | NONE |
Required (form) params: | eventIds: The event ids |
Optional (form) params: | NONE |
Response formats: | application/json |
Status codes: |
200: OK, Returns all the data related to the edit events metadata modal as JSON 404: Not Found, No events to update, either not found or with running workflow, details in response body. |
Notes: |
|
Testing: |
Sample:
/events/metadata.json
Testing form (click to reveal)
|
Method / Path: | POST /scheduling.json |
---|---|
Description: | Returns all of the scheduling metadata for a list of events |
Path params: | NONE |
Required (form) params: |
eventIds: An array of event IDs (mediapackage id)
ignoreNonScheduled: Whether events that are not really scheduled events should be ignored or produce an error |
Optional (form) params: | NONE |
Response formats: | application/json |
Status codes: |
200: OK, Returns all the data related to the event scheduling tab as JSON 404: Not Found, No event with this identifier was found. |
Notes: |
|
Testing: |
Sample:
/scheduling.json
Testing form (click to reveal)
|
Method / Path: | POST /{eventId}/comment/{commentId} |
---|---|
Description: | Resolves an event comment |
Path params: |
eventId:
The event id commentId: The comment identifier |
Optional (form) params: | NONE |
Status codes: |
404: Not Found, The event or comment to resolve has not been found. 200: OK, The resolved comment as JSON. |
Notes: |
|
Testing: |
Sample:
/{eventId}/comment/{commentId}
Testing form (click to reveal)
|
Method / Path: | POST /{eventId}/assets |
---|---|
Description: | Update or create an asset for the eventId by the given metadata as JSON and files in the body |
Path params: | eventId: The event id |
Required (form) params: | metadata: The list of asset metadata |
Optional (form) params: | NONE |
Status codes: |
200: OK, The asset has been added. 400: Bad Request, Could not add asset, problem with the metadata or files. 404: Not Found, No event with this identifier was found. |
Notes: |
|
Testing: |
Sample:
/{eventId}/assets
Testing form (click to reveal)
|
Method / Path: | PUT /{eventId}/comment/{commentId} |
---|---|
Description: | Updates an event comment |
Path params: |
eventId:
The event id commentId: The comment identifier |
Optional (form) params: |
text:
The comment text reason: The comment reason resolved: The comment resolved status |
Status codes: |
404: Not Found, The event or comment to update has not been found. 200: OK, The updated comment as JSON. |
Notes: |
|
Testing: |
Sample:
/{eventId}/comment/{commentId}
Testing form (click to reveal)
|
Method / Path: | PUT /{eventId}/comment/{commentId}/{replyId} |
---|---|
Description: | Updates an event comment reply |
Path params: |
eventId:
The event id commentId: The comment identifier replyId: The comment reply identifier |
Required (form) params: | text: The comment reply text |
Optional (form) params: | NONE |
Status codes: |
404: Not Found, The event or comment to extend with a reply or the reply has not been found. 400: Bad Request, If no text is set. 200: OK, The updated comment as JSON. |
Notes: |
|
Testing: |
Sample:
/{eventId}/comment/{commentId}/{replyId}
Testing form (click to reveal)
|
Method / Path: | PUT /{eventId}/metadata |
---|---|
Description: | Update the passed metadata for the event with the given Id |
Path params: | eventId: The event id |
Required (form) params: | metadata: The list of metadata to update |
Optional (form) params: | NONE |
Status codes: |
200: OK, The metadata have been updated. 400: Bad Request, Could not parse metadata. 404: Not Found, No event with this identifier was found. |
Notes: |
|
Testing: |
Sample:
/{eventId}/metadata
Testing form (click to reveal)
|
Method / Path: | PUT /{eventId}/scheduling |
---|---|
Description: | Updates the scheduling information of an event |
Path params: | eventId: The event identifier |
Required (form) params: | scheduling: The updated scheduling (JSON object) |
Optional (form) params: | NONE |
Status codes: |
400: Bad Request, The required params were missing in the request. 404: Not Found, If the event has not been found. 204: No Content, The method doesn't return any content |
Notes: |
|
Testing: |
Sample:
/{eventId}/scheduling
Testing form (click to reveal)
|
Method / Path: | PUT /events/metadata |
---|---|
Description: | Update the passed metadata for the events with the given ids |
Path params: | NONE |
Required (form) params: |
eventIds: The ids of the events to update
metadata: The metadata fields to update |
Optional (form) params: | NONE |
Status codes: |
204: No Content, All events have been updated successfully. 500: Internal Server Error, One or multiple errors occured while updating event metadata. Some events may have been updated successfully. Details are available in the response body. |
Notes: |
|
Testing: |
Sample:
/events/metadata
Testing form (click to reveal)
|
Method / Path: | PUT /{eventId}/workflows |
---|---|
Description: | Update the workflow configuration for the scheduled event with the given id |
Path params: | eventId: The event id |
Required (form) params: | configuration: The workflow configuration as JSON |
Optional (form) params: | NONE |
Status codes: |
204: No Content, Request executed succesfully 404: Not Found, No event with this identifier was found. |
Notes: |
|
Testing: |
Sample:
/{eventId}/workflows
Testing form (click to reveal)
|
Method / Path: | PUT /{eventId}/workflows/{workflowId}/action/{action} |
---|---|
Description: | Performs the given action for the given workflow. |
Path params: |
eventId:
The id of the media package workflowId: The id of the workflow action: The action to take: STOP, RETRY or NONE (abort processing) |
Optional (form) params: | NONE |
Status codes: |
200: OK, Workflow resumed. 404: Not Found, Event or workflow instance not found. 400: Bad Request, Invalid action entered. 401: Unauthorized, You do not have permission to perform the action. Maybe you need to authenticate. 500: Internal Server Error, An exception occurred. |
Testing: |
Sample:
/{eventId}/workflows/{workflowId}/action/{action}
Testing form (click to reveal)
|
Method / Path: | POST /workflowProperties |
---|---|
Description: | Returns workflow properties for the specified events |
Path params: | NONE |
Required (form) params: | eventIds: A JSON array of ids of the events |
Optional (form) params: | NONE |
Response formats: | application/json |
Status codes: |
200: OK, Returns the workflow properties for the events as JSON 400: Bad Request, The list of ids could not be parsed into a json list. |
Notes: |
|
Testing: |
Sample:
/workflowProperties
Testing form (click to reveal)
|