Agent Schema - DRAFT (0.1.0)

Download OpenAPI specification:Download

Agent API Schema

Person

List persons

By passing in query string, user can get available persons authorised

query Parameters
filter[rsql]
string

pass an optional search string for looking up the persons

sort
string

optional sort order string, such as descending, denoted by "-"

page[offset]
integer <int32>

number of records to skip when paging

page[limit]
integer <int32> [ 0 .. 50 ]

maximum number of records to return when paging

Responses

Response samples

Content type
application/vnd.api+json
[
  • {
    }
]

Add a person

Add a person

Request Body schema: application/vnd.api+json

Person to add

required
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    }
}

Get a person

Return a single person

path Parameters
Id
required
string <uuid>

ID of person to return

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    }
}

Update a person

Update a person

path Parameters
Id
required
string <uuid>

person id to patch

Request Body schema: application/vnd.api+json

person to add

required
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    }
}

Delete a person

Delete a person

path Parameters
Id
required
string <uuid>

person id to delete

Responses

Identifier

List identifiers

By passing in query string, user can get available identifiers authorised

query Parameters
filter[rsql]
string

pass an optional search string for looking up the persons

sort
string

optional sort order string, such as descending, denoted by "-"

page[offset]
integer <int32>

number of records to skip when paging

page[limit]
integer <int32> [ 0 .. 50 ]

maximum number of records to return when paging

Responses

Response samples

Content type
application/vnd.api+json
[
  • {
    }
]

Add an Identifier

Add a identifier

Request Body schema: application/vnd.api+json

Identifier to add

required
object

Responses

Request samples

Content type
application/vnd.api+json
{}

Get an identifier

Return a single identifier

path Parameters
Id
required
string <uuid>

ID of the Identifier to return

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    }
}

Update an identifier

Update a identifier

path Parameters
Id
required
string <uuid>

Identifier id to patch

Request Body schema: application/vnd.api+json

Identifier to add

required
object

Responses

Request samples

Content type
application/vnd.api+json
{}

Delete an identifier

Delete an identifier

path Parameters
Id
required
string <uuid>

Identifier id to delete

Responses

Organization

List organizations

By passing in query string, user can get available Organizations authorised

query Parameters
filter[rsql]
string

pass an optional search string for looking up the Organizations

sort
string

optional sort order string, such as descending, denoted by "-"

page[offset]
integer <int32>

number of records to skip when paging

page[limit]
integer <int32> [ 0 .. 50 ]

maximum number of records to return when paging

Responses

Response samples

Content type
application/vnd.api+json
[
  • {
    }
]

Add an organization

Add an organization

Request Body schema: application/vnd.api+json

Organization to add

required
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    }
}

Get an organization

Return a single organization

path Parameters
Id
required
string <uuid>

ID of organization to return

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    }
}

Update an organization

Update an organization

path Parameters
Id
required
string <uuid>

organization id to patch

Request Body schema: application/vnd.api+json

organization to add

required
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    }
}

Delete an organization

Delete an organization

path Parameters
Id
required
string <uuid>

organization id to delete

Responses