Origin

Summary

Origin maintains a mapping between a unique origin-name (name), and a fully-qualified domain-name (hostname) from which to fetch the requested manifest. Invoked via origin filter|

Definition

Name Schema Comments
ID integer unique auto-generated record-ID
Name string unique alphanumeric code to be used to invoke origin filter
Hostname string Fully-Qualified Domain Name of origin-host to use as origin-host/backend
Description string Human-readable description of host, content, etc.

REST Operations

GET origin/<resourceId>

Return origin resource identified by resourceId

GET origin?<query-parameters>

Return origin resources identified by query paramters:

Query Parameters:

parameter type default comments
page integer 0 zero indexed page of results to return (optional)
page_size integer   items-per-page to return (required)
name string   exact name to match (optional)

PUT origin/<resourceId>

Update origin resource idientied by resourceId

JSON body parameters:

Name Schema Comments
Name string unique alphanumeric code to be used to invoke origin filter
Hostname string Fully-Qualified Domain Name of origin-host to use as origin-host/backend
Description string Human-readable description of host, content, etc.

POST origin

Create new origin resource

JSON body parameters:

Name Schema Comments
Name string unique alphanumeric code to be used to invoke origin filter
Hostname string Fully-Qualified Domain Name of origin-host to use as origin-host/backend
Description string Human-readable description of host, content, etc.

DELETE

Delete origin resource idientied by resourceId