POST /articles
Name | Type | Description |
---|---|---|
Article | Article | Article's data. |
DELETE /articles/:id
Name | Type | Description |
---|---|---|
204 | No Content. |
GET /articles/:id
Name | Type | Description |
---|---|---|
Article | Article | Article's data. |
GET /articles
Name | Type | Description |
---|---|---|
page | Number | optional Page number. Default value: 1Size range: 1..30 |
limit | Number | optional Amount of returned items. Default value: 30Size range: 1..100 |
sort | String[] | optional Order of returned items. Default value: -createdAt |
fields | String[] | optional Fields to be returned. |
singleFieldValue | String[fieldName] | optional filter by element value. |
Name | Type | Description |
---|---|---|
articles | Article[] | List of articles. |
PUT /articles/:id
Name | Type | Description |
---|---|---|
Article | Object | Article's data. |
POST /auth
Name | Type | Description |
---|---|---|
token | String | User |
user | User | Current user's data. |
POST /auth/register
Name | Type | Description |
---|---|---|
access_token | String | Master access_token. |
Name | Type | Description |
---|---|---|
user | User | User's data. |
GET /auth/renewJWT
Name | Type | Description |
---|---|---|
access_token | String | access_token. |
Name | Type | Description |
---|---|---|
token | String | User |
user | User | Current user's data. |
POST /clients
Name | Type | Description |
---|---|---|
Client | Client | Client's data. |
DELETE /clients/:id
Name | Type | Description |
---|---|---|
204 | No Content. |
GET /clients/:id
Name | Type | Description |
---|---|---|
Client | Client | Client's data. |
GET /clients
Name | Type | Description |
---|---|---|
page | Number | optional Page number. Default value: 1Size range: 1..30 |
limit | Number | optional Amount of returned items. Default value: 30Size range: 1..100 |
sort | String[] | optional Order of returned items. Default value: -createdAt |
fields | String[] | optional Fields to be returned. |
singleFieldValue | String[fieldName] | optional filter by element value. |
Name | Type | Description |
---|---|---|
clients | Client[] | List of clients. |
PUT /clients/:id
Name | Type | Description |
---|---|---|
Client | Object | Client's data. |
JS personalInfoSchema
Entity schema: */
{
streetName: {
type: String
},
zipCode: {
type: String
},
city: {
type: String
},
province: {
type: String
},
region: {
type: String
},
state: {
type: String
},
vatNumber: {
type: String
},
telephone: {
type: String
}
};
/*
POST /recepits
Name | Type | Description |
---|---|---|
Recepit | Recepit | Recepit's data. |
DELETE /recepits/:id
Name | Type | Description |
---|---|---|
204 | No Content. |
POST /recepits/:id/pdf
Name | Type | Description |
---|---|---|
Recepit | Object | Recepit's data. |
GET /recepits/:id
Name | Type | Description |
---|---|---|
Recepit | Recepit | Recepit's data. |
GET /recepits
Name | Type | Description |
---|---|---|
page | Number | optional Page number. Default value: 1Size range: 1..30 |
limit | Number | optional Amount of returned items. Default value: 30Size range: 1..100 |
sort | String[] | optional Order of returned items. Default value: -createdAt |
fields | String[] | optional Fields to be returned. |
singleFieldValue | String[fieldName] | optional filter by element value. |
Name | Type | Description |
---|---|---|
recepits | Recepit[] | List of recepits. |
PUT /recepits/:id
Name | Type | Description |
---|---|---|
Recepit | Object | Recepit's data. |
POST /users
Name | Type | Description |
---|---|---|
user | User | User's data. |
DELETE /users/:id
Name | Type | Description |
---|---|---|
204 | No Content. |
DELETE /users/me
Name | Type | Description |
---|---|---|
204 | No Content. |
GET /users/:id
Name | Type | Description |
---|---|---|
user | User | User's data. |
GET /users
Name | Type | Description |
---|---|---|
page | Number | optional Page number. Default value: 1Size range: 1..30 |
limit | Number | optional Amount of returned items. Default value: 30Size range: 1..100 |
sort | String[] | optional Order of returned items. Default value: -createdAt |
fields | String[] | optional Fields to be returned. |
singleFieldValue | String[fieldName] | optional filter by element value. |
Name | Type | Description |
---|---|---|
users | User[] | List of users. |
GET /users/me
Name | Type | Description |
---|---|---|
user | User | User's data. |
PUT /users/:id
Name | Type | Description |
---|---|---|
user | Object | User's data. |
PUT /users/:id/password
Name | Type | Description |
---|---|---|
Authorization | String | Basic authorization with email and password. |
Name | Type | Description |
---|---|---|
user | User | User's data. |
PUT /users/:id/passwordReset
Name | Type | Description |
---|---|---|
user | Object | User's data. |