Sample API for educational/tutorials purposes
Contact information:
nyala Team
https://nyala.dev
info@nyala.dev
License: MIT
Find out more
| Name |
Located in |
Description |
Required |
Schema |
| _limit |
query |
Maximum number of results possible |
No |
integer |
| _sort |
query |
Sort according to a specific field. |
No |
string |
| _start |
query |
Skip a specific number of entries (especially useful for pagination) |
No |
integer |
| = |
query |
Get entries that matches exactly your input |
No |
string |
| _ne |
query |
Get records that are not equals to something |
No |
string |
| _lt |
query |
Get record that are lower than a value |
No |
string |
| _lte |
query |
Get records that are lower than or equal to a value |
No |
string |
| _gt |
query |
Get records that are greater than a value |
No |
string |
| _gte |
query |
Get records that are greater than or equal a value |
No |
string |
| _contains |
query |
Get records that contains a value |
No |
string |
| _containss |
query |
Get records that contains (case sensitive) a value |
No |
string |
| _in |
query |
Get records that matches any value in the array of values |
No |
[ string ] |
| _nin |
query |
Get records that doesn't match any value in the array of values |
No |
[ string ] |
| Code |
Description |
| 200 |
response |
| 403 |
Forbidden |
| 404 |
Not found |
| default |
unexpected error |
Create a new record
| Code |
Description |
| 200 |
response |
| 403 |
Forbidden |
| 404 |
Not found |
| default |
unexpected error |
| Name |
Located in |
Description |
Required |
Schema |
| Code |
Description |
| 200 |
response |
| 403 |
Forbidden |
| 404 |
Not found |
| default |
unexpected error |
| Name |
Located in |
Description |
Required |
Schema |
| id |
path |
|
Yes |
string |
| Code |
Description |
| 200 |
response |
| 403 |
Forbidden |
| 404 |
Not found |
| default |
unexpected error |
Update a record
| Name |
Located in |
Description |
Required |
Schema |
| id |
path |
|
Yes |
string |
| Code |
Description |
| 200 |
response |
| 403 |
Forbidden |
| 404 |
Not found |
| default |
unexpected error |
Delete a record
| Name |
Located in |
Description |
Required |
Schema |
| id |
path |
|
Yes |
string |
| Code |
Description |
| 200 |
deletes a single record based on the ID supplied |
| 403 |
Forbidden |
| 404 |
Not found |
| default |
unexpected error |
| Name |
Located in |
Description |
Required |
Schema |
| _limit |
query |
Maximum number of results possible |
No |
integer |
| _sort |
query |
Sort according to a specific field. |
No |
string |
| _start |
query |
Skip a specific number of entries (especially useful for pagination) |
No |
integer |
| = |
query |
Get entries that matches exactly your input |
No |
string |
| _ne |
query |
Get records that are not equals to something |
No |
string |
| _lt |
query |
Get record that are lower than a value |
No |
string |
| _lte |
query |
Get records that are lower than or equal to a value |
No |
string |
| _gt |
query |
Get records that are greater than a value |
No |
string |
| _gte |
query |
Get records that are greater than or equal a value |
No |
string |
| _contains |
query |
Get records that contains a value |
No |
string |
| _containss |
query |
Get records that contains (case sensitive) a value |
No |
string |
| _in |
query |
Get records that matches any value in the array of values |
No |
[ string ] |
| _nin |
query |
Get records that doesn't match any value in the array of values |
No |
[ string ] |
| Code |
Description |
| 200 |
response |
| 403 |
Forbidden |
| 404 |
Not found |
| default |
unexpected error |
Create a new record
| Code |
Description |
| 200 |
response |
| 403 |
Forbidden |
| 404 |
Not found |
| default |
unexpected error |
| Name |
Located in |
Description |
Required |
Schema |
| Code |
Description |
| 200 |
response |
| 403 |
Forbidden |
| 404 |
Not found |
| default |
unexpected error |
| Name |
Located in |
Description |
Required |
Schema |
| id |
path |
|
Yes |
string |
| Code |
Description |
| 200 |
response |
| 403 |
Forbidden |
| 404 |
Not found |
| default |
unexpected error |
Update a record
| Name |
Located in |
Description |
Required |
Schema |
| id |
path |
|
Yes |
string |
| Code |
Description |
| 200 |
response |
| 403 |
Forbidden |
| 404 |
Not found |
| default |
unexpected error |
Delete a record
| Name |
Located in |
Description |
Required |
Schema |
| id |
path |
|
Yes |
string |
| Code |
Description |
| 200 |
deletes a single record based on the ID supplied |
| 403 |
Forbidden |
| 404 |
Not found |
| default |
unexpected error |
| Name |
Located in |
Description |
Required |
Schema |
| _limit |
query |
Maximum number of results possible |
No |
integer |
| _sort |
query |
Sort according to a specific field. |
No |
string |
| _start |
query |
Skip a specific number of entries (especially useful for pagination) |
No |
integer |
| = |
query |
Get entries that matches exactly your input |
No |
string |
| _ne |
query |
Get records that are not equals to something |
No |
string |
| _lt |
query |
Get record that are lower than a value |
No |
string |
| _lte |
query |
Get records that are lower than or equal to a value |
No |
string |
| _gt |
query |
Get records that are greater than a value |
No |
string |
| _gte |
query |
Get records that are greater than or equal a value |
No |
string |
| _contains |
query |
Get records that contains a value |
No |
string |
| _containss |
query |
Get records that contains (case sensitive) a value |
No |
string |
| _in |
query |
Get records that matches any value in the array of values |
No |
[ string ] |
| _nin |
query |
Get records that doesn't match any value in the array of values |
No |
[ string ] |
| Code |
Description |
| 200 |
response |
| 403 |
Forbidden |
| 404 |
Not found |
| default |
unexpected error |
Create a new record
| Code |
Description |
| 200 |
response |
| 403 |
Forbidden |
| 404 |
Not found |
| default |
unexpected error |
| Name |
Located in |
Description |
Required |
Schema |
| Code |
Description |
| 200 |
response |
| 403 |
Forbidden |
| 404 |
Not found |
| default |
unexpected error |
| Name |
Located in |
Description |
Required |
Schema |
| id |
path |
|
Yes |
string |
| Code |
Description |
| 200 |
response |
| 403 |
Forbidden |
| 404 |
Not found |
| default |
unexpected error |
Update a record
| Name |
Located in |
Description |
Required |
Schema |
| id |
path |
|
Yes |
string |
| Code |
Description |
| 200 |
response |
| 403 |
Forbidden |
| 404 |
Not found |
| default |
unexpected error |
Delete a record
| Name |
Located in |
Description |
Required |
Schema |
| id |
path |
|
Yes |
string |
| Code |
Description |
| 200 |
deletes a single record based on the ID supplied |
| 403 |
Forbidden |
| 404 |
Not found |
| default |
unexpected error |
| Name |
Type |
Description |
Required |
| id |
string |
|
Yes |
| bookingDate |
dateTime |
|
No |
| bookingStatus |
string |
Enum: "confirmed", "pending", "canceled" |
No |
| people |
integer |
|
Yes |
| restaurant |
|
|
No |
| table |
|
|
No |
| customer |
|
|
No |
| published_at |
dateTime |
|
No |
| Name |
Type |
Description |
Required |
| bookingDate |
dateTime |
|
No |
| bookingStatus |
string |
Enum: "confirmed", "pending", "canceled" |
No |
| people |
integer |
|
Yes |
| restaurant |
string |
|
No |
| table |
string |
|
No |
| customer |
string |
|
No |
| published_at |
dateTime |
|
No |
| created_by |
string |
|
No |
| updated_by |
string |
|
No |
| Name |
Type |
Description |
Required |
| id |
string |
|
Yes |
| name |
string |
|
Yes |
| description |
string |
|
No |
| address |
string |
|
No |
| image |
|
|
No |
| owner |
|
|
No |
| tables |
[ ] |
|
No |
| published_at |
dateTime |
|
No |
| Name |
Type |
Description |
Required |
| name |
string |
|
Yes |
| description |
string |
|
No |
| address |
string |
|
No |
| owner |
string |
|
No |
| tables |
[ string ] |
|
No |
| published_at |
dateTime |
|
No |
| created_by |
string |
|
No |
| updated_by |
string |
|
No |
| Name |
Type |
Description |
Required |
| id |
string |
|
Yes |
| identifier |
string |
|
Yes |
| capacity |
integer |
|
Yes |
| description |
string |
|
No |
| restaurant |
|
|
No |
| available |
boolean |
|
No |
| published_at |
dateTime |
|
No |
| Name |
Type |
Description |
Required |
| identifier |
string |
|
Yes |
| capacity |
integer |
|
Yes |
| description |
string |
|
No |
| restaurant |
string |
|
No |
| available |
boolean |
|
No |
| published_at |
dateTime |
|
No |
| created_by |
string |
|
No |
| updated_by |
string |
|
No |
| Name |
Type |
Description |
Required |
| code |
integer |
|
Yes |
| message |
string |
|
Yes |