Skip to content

UANATACA RA API DOCUMENTATION (v1)

Download OpenAPI description
Languages
Servers

https://api.uanataca.com/

Operations
Operations
Operations

Request

Gets the list of users.

curl -i -X GET \
  https://api.uanataca.com/api/v1/users

Responses

Successful Response

Bodyapplication/json
countnumber

The number of associated users

nextstring

The list next page endpoint

previousstring

The list previous page endpoint

resultsArray of objects
Response
application/json
{ "count": 7, "next": "https://api.uanataca.com/api/v1/users/?page=2", "previous": null, "results": [ {}, {}, {}, {}, "..." ] }

Request

Create a new user.

Bodyapplication/json
registration_authoritystringrequired

The registration authority id

permission_profilestringrequired

The permission profile id that will be associated to this user

requeststringrequired

The request id

raostringrequired

The RAO id

curl -i -X POST \
  https://api.uanataca.com/api/v1/users \
  -H 'Content-Type: application/json' \
  -d '{
    "registration_authority": "string",
    "permission_profile": "string",
    "request": "string",
    "rao": "string"
  }'

Responses

Successful Response

Bodyapplication/json
pknumber

The user id

permission_profilestring

The user permission profile id

registration_authoritystring

The user associated registration authority id

requeststring

The user associated request id

Response
application/json
{ "pk": 221, "permission_profile": 18, "registration_authority": 1, "request": 255 }

Request

Get information about an user.

Path
idstringrequired

The User's unique identifier

curl -i -X GET \
  'https://api.uanataca.com/api/v1/users/{id}'

Responses

Successful Response

Bodyapplication/json
pkstring

The user unique id

permission_profilestring

The permission profile id associated to this user

requeststring

The request id

raostring

The RAO id

Response
application/json
{ "pk": 36, "permission_profile": 18, "registration_authority": 41, "request": 787 }

Request

Update a new user.

Path
idstringrequired

The User's unique identifier

Bodyapplication/json
registration_authoritystringrequired

The registration authority id

permission_profilestring

The permission profile id that will be associated to this user

requeststring

The request id

raostring

The RAO id

curl -i -X PUT \
  'https://api.uanataca.com/api/v1/users/{id}' \
  -H 'Content-Type: application/json' \
  -d '{
    "registration_authority": "string",
    "permission_profile": "string",
    "request": "string",
    "rao": "string"
  }'

Responses

Successful Response

Bodyapplication/json
pknumber

The user id

permission_profilestring

The user permission profile id

registration_authoritystring

The user associated registration authority id

requeststring

The user associated request id

Response
application/json
{ "pk": 221, "permission_profile": 18, "registration_authority": 1, "request": 150 }
Operations
Operations
Operations
Operations