GET
/
bases
curl --request GET \
  --url https://api.bases.rdstationmentoria.com.br/rest/bases \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "description": "<string>",
      "status": "in_progress",
      "records": 0,
      "workspaceId": "<string>",
      "createdBy": "<string>",
      "updatedBy": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "meta": {
    "total": 123,
    "page": 123,
    "size": 123,
    "first": 123,
    "last": 123,
    "next": 123,
    "previous": 123
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

page
number
default:1
size
number
default:20

Response

200
application/json

Successful response

The response is of type object.

GET
/
bases
curl --request GET \
  --url https://api.bases.rdstationmentoria.com.br/rest/bases \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "description": "<string>",
      "status": "in_progress",
      "records": 0,
      "workspaceId": "<string>",
      "createdBy": "<string>",
      "updatedBy": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "meta": {
    "total": 123,
    "page": 123,
    "size": 123,
    "first": 123,
    "last": 123,
    "next": 123,
    "previous": 123
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

page
number
default:1
size
number
default:20

Response

200
application/json

Successful response

The response is of type object.