Metadata Adapters Endpoints¶
Metadata Adapters API endpoints.
Overview¶
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/v1/metadata-adapters/ |
List Visible Metadata Adapters |
| GET | /api/v1/metadata-adapters/template-wildcards |
List Template Wildcards |
| PUT | /api/v1/metadata-adapters/{code}/visibility |
Update Metadata Adapter Visibility |
API Reference¶
Sartiq Backend Server - Metadata Adapters 0.1.0¶
metadata-adapters¶
GET /api/v1/metadata-adapters/template-wildcards¶
List Template Wildcards
Description
Return every wildcard available inside naming_convention_template.
Static across deployments, derived from the in-process registry.
Responses
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.
GET /api/v1/metadata-adapters/¶
List Visible Metadata Adapters
Description
Adapters the caller is allowed to pick when configuring exports.
Input parameters
| Parameter | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
OAuth2PasswordBearer |
header | string | N/A | No | |
organization_id |
query | No |
Responses
[
{
"code": "default",
"display_name": "string",
"naming_convention_example": "string",
"is_customizable": true,
"is_public": true,
"organization_ids": [
"205cae6c-22c7-4dec-957f-c8d4dadf5b8b"
]
}
]
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.
PUT /api/v1/metadata-adapters/{code}/visibility¶
Update Metadata Adapter Visibility
Description
Replace visibility settings for one adapter. Admin only.
Input parameters
| Parameter | In | Type | Default | Nullable | Description |
|---|---|---|---|---|---|
OAuth2PasswordBearer |
header | string | N/A | No | |
code |
path | string | No |
Request body
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.
Schema of the request body
{
"properties": {
"is_public": {
"type": "boolean",
"title": "Is Public"
},
"organization_ids": {
"items": {
"type": "string",
"format": "uuid"
},
"type": "array",
"title": "Organization Ids",
"default": []
}
},
"type": "object",
"required": [
"is_public"
],
"title": "AdapterVisibilityUpdate",
"description": "Replacement payload for one adapter's visibility settings."
}
Responses
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.
Schema of the response body
{
"properties": {
"is_public": {
"type": "boolean",
"title": "Is Public"
},
"organization_ids": {
"items": {
"type": "string",
"format": "uuid"
},
"type": "array",
"title": "Organization Ids",
"default": []
}
},
"type": "object",
"required": [
"is_public"
],
"title": "AdapterVisibilityUpdate",
"description": "Replacement payload for one adapter's visibility settings."
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.
Schemas¶
AdapterVisibilityUpdate¶
| Name | Type | Description |
|---|---|---|
is_public |
boolean | |
organization_ids |
Array<string(uuid)> |
HTTPValidationError¶
| Name | Type | Description |
|---|---|---|
detail |
Array<ValidationError> |
MetadataAdapter¶
Type: string
MetadataAdapterPublic¶
| Name | Type | Description |
|---|---|---|
code |
MetadataAdapter | |
display_name |
string | |
is_customizable |
boolean | |
is_public |
boolean | |
naming_convention_example |
string | |
organization_ids |
Array<string(uuid)> |
TemplateWildcardPublic¶
| Name | Type | Description |
|---|---|---|
description |
string | |
example |
string | |
name |
string |
ValidationError¶
| Name | Type | Description |
|---|---|---|
ctx |
||
input |
||
loc |
Array<> | |
msg |
string | |
type |
string |
Security schemes¶
| Name | Type | Scheme | Description |
|---|---|---|---|
| OAuth2PasswordBearer | oauth2 |