Status
GET /status
Fields
| Field | Type | Description | Required |
|---|---|---|---|
| mac | Endereço de controle de acesso. |
YES | |
| logFile | Arquivo de log. |
YES |
Request
Headers
| Header | Value |
|---|---|
| Accept | application/vnd.status.v1+json
application/hal+json
application/json |
Response
Status Codes
- 406: Not Acceptable
- 415: Unsupported Media Type
- 200: OK
Headers
| Header | Value |
|---|---|
| Content-Type | application/vnd.status.v1+json
application/hal+json
application/json |
| Allow | Comma-separated list of all HTTP methods allowed |
Body
POST /status
"Mac": "Endereço de controle de acesso.", "logFile": "Arquivo de log."
Fields
| Field | Type | Description | Required |
|---|---|---|---|
| mac | Endereço de controle de acesso. |
YES | |
| logFile | Arquivo de log. |
YES |
Request
Headers
| Header | Value |
|---|---|
| Accept | application/vnd.status.v1+json
application/hal+json
application/json |
| Content-Type | application/vnd.status.v1+json
application/json |
| Authorization | HTTP Basic, HTTP Digest, or OAuth2 Bearer token (check API provider for details) |
Body
{
"Mac": "Endereço de controle de acesso.",
"logFile": "Arquivo de log."
}
Response
Status Codes
- 406: Not Acceptable
- 415: Unsupported Media Type
- 201: Created
- 400: Client Error
- 422: Unprocessable Entity
- 401: Unauthorized
- 403: Forbidden
Headers
| Header | Value |
|---|---|
| Content-Type | application/vnd.status.v1+json
application/hal+json
application/json |
| Allow | Comma-separated list of all HTTP methods allowed |
Body
{
"_links": {
"self": {
"href": "/status[/:status_id]"
}
}
"Mac": "Endereço de controle de acesso.",
"logFile": "Arquivo de log."
}
GET /status[/:status_id]
Fields
| Field | Type | Description | Required |
|---|---|---|---|
| mac | Endereço de controle de acesso. |
YES | |
| logFile | Arquivo de log. |
YES |
Request
Headers
| Header | Value |
|---|---|
| Accept | application/vnd.status.v1+json
application/hal+json
application/json |
Response
Status Codes
- 406: Not Acceptable
- 415: Unsupported Media Type
- 200: OK
- 404: Not Found
Headers
| Header | Value |
|---|---|
| Content-Type | application/vnd.status.v1+json
application/hal+json
application/json |
| Allow | Comma-separated list of all HTTP methods allowed |
Body
PATCH /status[/:status_id]
Fields
| Field | Type | Description | Required |
|---|---|---|---|
| mac | Endereço de controle de acesso. |
YES | |
| logFile | Arquivo de log. |
YES |
Request
Headers
| Header | Value |
|---|---|
| Accept | application/vnd.status.v1+json
application/hal+json
application/json |
| Content-Type | application/vnd.status.v1+json
application/json |
| Authorization | HTTP Basic, HTTP Digest, or OAuth2 Bearer token (check API provider for details) |
Body
Response
Status Codes
- 406: Not Acceptable
- 415: Unsupported Media Type
- 200: OK
- 404: Not Found
- 400: Client Error
- 422: Unprocessable Entity
- 401: Unauthorized
- 403: Forbidden
Headers
| Header | Value |
|---|---|
| Content-Type | application/vnd.status.v1+json
application/hal+json
application/json |
| Allow | Comma-separated list of all HTTP methods allowed |
Body
PUT /status[/:status_id]
Fields
| Field | Type | Description | Required |
|---|---|---|---|
| mac | Endereço de controle de acesso. |
YES | |
| logFile | Arquivo de log. |
YES |
Request
Headers
| Header | Value |
|---|---|
| Accept | application/vnd.status.v1+json
application/hal+json
application/json |
| Content-Type | application/vnd.status.v1+json
application/json |
| Authorization | HTTP Basic, HTTP Digest, or OAuth2 Bearer token (check API provider for details) |
Body
Response
Status Codes
- 406: Not Acceptable
- 415: Unsupported Media Type
- 200: OK
- 404: Not Found
- 400: Client Error
- 422: Unprocessable Entity
- 401: Unauthorized
- 403: Forbidden
Headers
| Header | Value |
|---|---|
| Content-Type | application/vnd.status.v1+json
application/hal+json
application/json |
| Allow | Comma-separated list of all HTTP methods allowed |
Body
DELETE /status[/:status_id]
Fields
| Field | Type | Description | Required |
|---|---|---|---|
| mac | Endereço de controle de acesso. |
YES | |
| logFile | Arquivo de log. |
YES |
Request
Headers
| Header | Value |
|---|---|
| Accept | application/vnd.status.v1+json
application/hal+json
application/json |
| Authorization | HTTP Basic, HTTP Digest, or OAuth2 Bearer token (check API provider for details) |
Response
Status Codes
- 406: Not Acceptable
- 415: Unsupported Media Type
- 204: No Content
- 404: Not Found
- 401: Unauthorized
- 403: Forbidden
Headers
| Header | Value |
|---|---|
| Content-Type | application/vnd.status.v1+json
application/hal+json
application/json |
| Allow | Comma-separated list of all HTTP methods allowed |