POST /services
Create a new service.
The following parameters are recognized in the POST request body.
- name (REQUIRED) — [string] The name of the service.
- link (REQUIRED) — [string] The link to service homepage.
- logo — [string] The path for the service logo.
- color — [string] The primary color of the service.
Status 2o1 — Created
A JSON Object filled with an service following the service format.
- Status 422 — Unprocessable Entity. The request name/link/logo is already token.
POST /services
{
"name": "test",
"link": "https://test.org",
}{
"id": 4,
"name": "test",
"link": "https://test.com",
"logo": null,
"color": null
}