Webservice API definitions for articles
here is not the place for the list of all possible endpoints so just a list for articles to get a genaral feling.
For more look to [ToDo Link to groups or more ... @herman]()
Following is a Swagger UI formatted definition of the article endpoints. It was created with the Web Services Documentation by Joomla!Labs. It is followed by a set of HTTP status codes returned.
Content Operations related to content
Articles Articles for content
GET/content/articlesGet list of articles
POST/content/articlesCreate new item in articles
GET/content/articles/{id}Get single item from articles
PATCH/content/articles/{id}Update item in articles
DELETE/content/articles/{id}Delete item from articles
Categories Categories for content
GET/content/categoriesGet list of categories
POST/content/categoriesCreate new item in categories
GET/content/categories/{id}Get single item from categories
PATCH/content/categories/{id}Update item in categories
DELETE/content/categories/{id}Delete item from categories
Fields
Articles Articles fields for content
GET/fields/content/articlesGet list of articles
POST/fields/content/articlesCreate new item in articles
GET/fields/content/articles/{id}Get single item from articles
PATCH/fields/content/articles/{id}Update item in articles
DELETE/fields/content/articles/{id}Delete item from articles
Categories Categories fields for content
GET/fields/content/categoriesGet list of categories
POST/fields/content/categoriesCreate new item in categories
GET/fields/content/categories/{id}Get single item from categories
PATCH/fields/content/categories/{id}Update item in categories
DELETE/fields/content/categories/{id}Delete item from categories
Groups
Articles Articles field groups for content
GET/fields/groups/content/articlesGet list of articles
POST/fields/groups/content/articlesCreate new item in articles
GET/fields/groups/content/articles/{id}Get single item from articles
PATCH/fields/groups/content/articles/{id}Update item in articles
DELETE/fields/groups/content/articles/{id}Delete item from articles
Categories Categories field groups for content
GET/fields/groups/content/categoriesGet list of categories
POST/fields/groups/content/categoriesCreate new item in categories
GET/fields/groups/content/categories/{id}Get single item from categories
PATCH/fields/groups/content/categories/{id}Update item in categories
DELETE/fields/groups/content/categories/{id}Delete item from categories
Content History Content history for content
GET/content/articles/{id}/contenthistoryDisplayList
DELETE/content/articles/{id}/contenthistoryDelete
PATCH/content/articles/{id}/contenthistory/keepKeep
After installing the package it lives on the help pages in section Web Services ''API Explorer (Swagger)" When clicking on the down arrow further data is revieled among other things which tell all the HTTP status codes of this command. Example Post article:
POST/content/articlesCreate new item in articles
No parameters
Example ValueSchema
{}
Responses
| Code | Description | Links |
| 201 | Created successfully | No links |
| 400 | Bad request | No links |
| 401 | Unauthorized | No links |
| 422 | Validation error | No links |
| 500 | Server error | No links |