HTTP API reference › Gala Launchpad › Restricted Token Names
Gala Launchpad — Restricted Token Names
2 operations in this group.
- GET /v1/restricted-token-names — Get restricted token names (overseer only)
- PUT /v1/restricted-token-names — Update restricted token names (overseer only)
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
| Field | Type | Required | Description |
|---|---|---|---|
| content | string | yes | Newline-separated list of restricted token names/patterns |
401 — Unauthorized
Content type: application/json
Schema: ApiErrorEnvelope
| Field | Type | Required | Description |
|---|---|---|---|
| error | boolean enum: true | yes | |
| message | oneOf: string | array<string> | yes | |
| status | integer | yes | HTTP status code. |
| message | string | yes | |
| statusCode | integer | yes | HTTP status code. |
403 — Forbidden - insufficient permissions
Content type: application/json
Schema: ApiErrorEnvelope
| Field | Type | Required | Description |
|---|---|---|---|
| error | boolean enum: true | yes | |
| message | oneOf: string | array<string> | yes | |
| status | integer | yes | HTTP status code. |
| message | string | yes | |
| statusCode | integer | yes | HTTP status code. |
default — Shared error envelope returned by the application exception filter.
Content type: application/json
Schema: ApiErrorEnvelope
| Field | Type | Required | Description |
|---|---|---|---|
| error | boolean enum: true | yes | |
| message | oneOf: string | array<string> | yes | |
| status | integer | yes | HTTP status code. |
| message | string | yes | |
| statusCode | integer | yes | HTTP 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
| Field | Type | Required | Description |
|---|---|---|---|
| content | string | yes | Newline-separated list of restricted token names/patterns |
400 — Invalid input
Content type: application/json
Schema: ApiErrorEnvelope
| Field | Type | Required | Description |
|---|---|---|---|
| error | boolean enum: true | yes | |
| message | oneOf: string | array<string> | yes | |
| status | integer | yes | HTTP status code. |
| message | string | yes | |
| statusCode | integer | yes | HTTP status code. |
401 — Unauthorized
Content type: application/json
Schema: ApiErrorEnvelope
| Field | Type | Required | Description |
|---|---|---|---|
| error | boolean enum: true | yes | |
| message | oneOf: string | array<string> | yes | |
| status | integer | yes | HTTP status code. |
| message | string | yes | |
| statusCode | integer | yes | HTTP status code. |
403 — Forbidden - insufficient permissions
Content type: application/json
Schema: ApiErrorEnvelope
| Field | Type | Required | Description |
|---|---|---|---|
| error | boolean enum: true | yes | |
| message | oneOf: string | array<string> | yes | |
| status | integer | yes | HTTP status code. |
| message | string | yes | |
| statusCode | integer | yes | HTTP status code. |
default — Shared error envelope returned by the application exception filter.
Content type: application/json
Schema: ApiErrorEnvelope
| Field | Type | Required | Description |
|---|---|---|---|
| error | boolean enum: true | yes | |
| message | oneOf: string | array<string> | yes | |
| status | integer | yes | HTTP status code. |
| message | string | yes | |
| statusCode | integer | yes | HTTP status code. |
Example response
[]
Previous group: content-reactions · Next group: Stats