Skip to content

Commit

Permalink
Add _connector API definition
Browse files Browse the repository at this point in the history
  • Loading branch information
jedrazb committed Dec 13, 2023
1 parent de45840 commit ba8f107
Show file tree
Hide file tree
Showing 44 changed files with 8,364 additions and 1,043 deletions.
3,891 changes: 2,848 additions & 1,043 deletions output/openapi/elasticsearch-serverless-openapi.json

Large diffs are not rendered by default.

3,679 changes: 3,679 additions & 0 deletions output/schema/schema.json

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions output/schema/validation-errors.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

319 changes: 319 additions & 0 deletions output/typescript/types.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 27 additions & 0 deletions specification/_json_spec/connector.check_in.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"connector.check_in": {
"documentation": {
"url": "https://www.elastic.co/guide/en/enterprise-search/current/connectors.html",
"description": "Updates the last_seen timestamp in the connector document."
},
"stability": "experimental",
"visibility": "public",
"headers": {
"accept": ["application/json"]
},
"url": {
"paths": [
{
"path": "/_connector/{connector_id}/_check_in",
"methods": ["PUT"],
"parts": {
"connector_id": {
"type": "string",
"description": "The unique identifier of the connector to be updated."
}
}
}
]
}
}
}
27 changes: 27 additions & 0 deletions specification/_json_spec/connector.delete.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"connector.delete": {
"documentation": {
"url": "https://www.elastic.co/guide/en/enterprise-search/current/connectors.html",
"description": "Deletes a connector."
},
"stability": "experimental",
"visibility": "public",
"headers": {
"accept": ["application/json"]
},
"url": {
"paths": [
{
"path": "/_connector/{connector_id}",
"methods": ["DELETE"],
"parts": {
"connector_id": {
"type": "string",
"description": "The unique identifier of the connector to be deleted."
}
}
}
]
}
}
}
Loading

0 comments on commit ba8f107

Please sign in to comment.