Skip to main content

HTTP API reference › Gala Launchpad › Restricted Token Names

Gala Launchpad — Restricted Token Names

2 operations in this group.

GET /v1/restricted-token-names​

RestrictedTokenNamesController_getRestrictedNames

Get restricted token names (overseer only)

Retrieve the list of restricted token names as newline-separated content

Authentication: bearer

Responses​

200 — Restricted names content​

Content type: application/json

Schema: GetRestrictedNamesDto

FieldTypeRequiredDescription
contentstringyesNewline-separated list of restricted token names/patterns

401 — Unauthorized​

Content type: application/json

Schema: ApiErrorEnvelope

FieldTypeRequiredDescription
errorboolean enum: trueyes
messageoneOf: string | array<string>yes
statusintegeryesHTTP status code.
messagestringyes
statusCodeintegeryesHTTP status code.

403 — Forbidden - insufficient permissions​

Content type: application/json

Schema: ApiErrorEnvelope

FieldTypeRequiredDescription
errorboolean enum: trueyes
messageoneOf: string | array<string>yes
statusintegeryesHTTP status code.
messagestringyes
statusCodeintegeryesHTTP status code.

default — Shared error envelope returned by the application exception filter.​

Content type: application/json

Schema: ApiErrorEnvelope

FieldTypeRequiredDescription
errorboolean enum: trueyes
messageoneOf: string | array<string>yes
statusintegeryesHTTP status code.
messagestringyes
statusCodeintegeryesHTTP status code.

Example response​

[]

PUT /v1/restricted-token-names​

RestrictedTokenNamesController_updateRestrictedNames

Update restricted token names (overseer only)

Replace the entire list of restricted token names with newline-separated content

Authentication: bearer

Responses​

200 — Restricted names updated​

Content type: application/json

Schema: GetRestrictedNamesDto

FieldTypeRequiredDescription
contentstringyesNewline-separated list of restricted token names/patterns

400 — Invalid input​

Content type: application/json

Schema: ApiErrorEnvelope

FieldTypeRequiredDescription
errorboolean enum: trueyes
messageoneOf: string | array<string>yes
statusintegeryesHTTP status code.
messagestringyes
statusCodeintegeryesHTTP status code.

401 — Unauthorized​

Content type: application/json

Schema: ApiErrorEnvelope

FieldTypeRequiredDescription
errorboolean enum: trueyes
messageoneOf: string | array<string>yes
statusintegeryesHTTP status code.
messagestringyes
statusCodeintegeryesHTTP status code.

403 — Forbidden - insufficient permissions​

Content type: application/json

Schema: ApiErrorEnvelope

FieldTypeRequiredDescription
errorboolean enum: trueyes
messageoneOf: string | array<string>yes
statusintegeryesHTTP status code.
messagestringyes
statusCodeintegeryesHTTP status code.

default — Shared error envelope returned by the application exception filter.​

Content type: application/json

Schema: ApiErrorEnvelope

FieldTypeRequiredDescription
errorboolean enum: trueyes
messageoneOf: string | array<string>yes
statusintegeryesHTTP status code.
messagestringyes
statusCodeintegeryesHTTP status code.

Example response​

[]

Previous group: content-reactions · Next group: Stats