content¶
GET /contents/{id}
Retrieves content from the repository
Description:
Produces: [‘text/html’, ‘application/json’]
Parameters
Name |
Position |
Description |
Type |
---|---|---|---|
id |
path |
ID of content to return |
string |
Responses
200 - successful operation
404 - Content not found
GET /contents/{id}.html
Retrieves content from the repository as HTML
Description:
Produces: [‘text/html’]
Parameters
Name |
Position |
Description |
Type |
---|---|---|---|
id |
path |
ID of content to return |
string |
Responses
200 - successful operation
404 - Content not found
GET /contents/{id}/{filename}.html
Retrieves content from the repository as HTML
Description:
Produces: [‘text/html’]
Parameters
Name |
Position |
Description |
Type |
---|---|---|---|
id |
path |
ID of content to return |
string |
filename |
path |
Optional filename for the content |
string |
Responses
200 - successful operation
404 - Content not found
GET /contents/{id}.json
Retrieves content from the repository
Description:
Produces: [‘application/json’]
Parameters
Name |
Position |
Description |
Type |
---|---|---|---|
id |
path |
ID of content to return |
string |
Responses
200 - successful operation
404 - Content not found
GET /contents/{id}/{filename}.json
Retrieves content from the repository
Description:
Produces: [‘application/json’]
Parameters
Name |
Position |
Description |
Type |
---|---|---|---|
id |
path |
ID of content to return |
string |
filename |
path |
Optional filename for the content |
string |
Responses
200 - successful operation
404 - Content not found
GET /extras/{id}
Retrieves extra information asociated with the content
Description:
Produces: [‘application/json’]
Parameters
Name |
Position |
Description |
Type |
---|---|---|---|
id |
path |
ID of content to return |
string |
Responses
200 - successful operation
Name |
Description |
Type |
---|---|---|
isLatest |
boolean |
|
downloads |
array |
|
state |
string |
|
canPublish |
array |
|
books |
array |
404 - Content not found
GET /search/{id}
Search the repository for content
Description:
Produces: [‘application/json’]
Parameters
Name |
Position |
Description |
Type |
---|---|---|---|
id |
path |
ID of content to search within |
string |
Responses
200 - successful operation
GET /content/{id}
Retrieves content from the repository
Description:
Parameters
Name |
Position |
Description |
Type |
---|---|---|---|
id |
path |
legacy ID for content |
string |
Responses
200 - successful operation
404 - Not found
GET /content/{id}/{ver}
Retrieves content from the repository
Description:
Parameters
Name |
Position |
Description |
Type |
---|---|---|---|
id |
path |
legacy ID for content |
string |
ver |
path |
legacy version for content |
string |
Responses
200 - successful operation
404 - Not found
GET /content/{id}/{ver}/{filename}
Retrieves a file from the repository
Description:
Parameters
Name |
Position |
Description |
Type |
---|---|---|---|
id |
path |
legacy ID for content |
string |
ver |
path |
legacy version for content |
string |
filename |
path |
Optional filename for the content |
string |
Responses
200 - successful operation
404 - Not found