Skip to content

List aliases

GET
/v1/aliases
curl -H "X-Api-Key: $KEY" http://localhost:9027/v1/aliases

Lists this caller’s aliases by name, each with the template it names now.

limit
integer | null

How many to return, up to 200. Default 50.

cursor
string | null

nextCursor from the page before.

A page of aliases

Media typeapplication/json

One page of aliases.

object
aliases
required
Array<object>

An alias and the template it names now.

object
name
required
string
setAt
required

RFC 3339: when it was pointed at this template.

string
templateId
required
string
version
required

1 for the first template it named, counted since it was last deleted. Render an earlier one as name@version.

integer
nextCursor

Pass as cursor for the next page. Absent on the last.

string | null

Example

{
"aliases": [
{
"name": "invoice"
}
]
}

RUSTICDOC_STORE is not set

Media typeapplication/json

The JSON body of every error response.

object
error
required

A stable, machine-readable kind.

string
message
required

What went wrong, for a person.

string

Example

{
"error": "invalid_request",
"message": "unknown step 'teleport'"
}

The store cannot be reached

Media typeapplication/json

The JSON body of every error response.

object
error
required

A stable, machine-readable kind.

string
message
required

What went wrong, for a person.

string

Example

{
"error": "invalid_request",
"message": "unknown step 'teleport'"
}