mirror of
https://github.com/ModernRelay/omnigraph.git
synced 2026-06-15 01:55:13 +02:00
Merge remote-tracking branch 'origin/main' into ragnorc/explore-api
# Conflicts: # CONTRIBUTING.md
This commit is contained in:
commit
9de2079263
14 changed files with 1056 additions and 39 deletions
56
openapi.json
56
openapi.json
|
|
@ -922,6 +922,51 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
"/schema": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"schema"
|
||||
],
|
||||
"operationId": "getSchema",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Current schema source",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/SchemaOutput"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"401": {
|
||||
"description": "Unauthorized",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/ErrorOutput"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"403": {
|
||||
"description": "Forbidden",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/ErrorOutput"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"bearer_token": []
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/schema/apply": {
|
||||
"post": {
|
||||
"tags": [
|
||||
|
|
@ -1703,6 +1748,17 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"SchemaOutput": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"schema_source"
|
||||
],
|
||||
"properties": {
|
||||
"schema_source": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"SnapshotOutput": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue