Skip to content

Instantly share code, notes, and snippets.

@nickvergessen
Last active March 3, 2025 13:59
Show Gist options
  • Save nickvergessen/51baa70be5d6c1e84ef2687e72b4c9ed to your computer and use it in GitHub Desktop.
Save nickvergessen/51baa70be5d6c1e84ef2687e72b4c9ed to your computer and use it in GitHub Desktop.
{
"openapi": "3.0.3",
"info": {
"title": "core",
"version": "0.0.1",
"description": "Core functionality of Nextcloud",
"license": {
"name": "agpl"
}
},
"components": {
"securitySchemes": {
"basic_auth": {
"type": "http",
"scheme": "basic"
},
"bearer_auth": {
"type": "http",
"scheme": "bearer"
}
}
},
"paths": {
"/string-int-and-null": {
"get": {
"operationId": "unified_search-search",
"summary": "Launch a search for a specific search provider.",
"description": "Additional filters are available for each provider. Send a request to /providers endpoint to list providers with their available filters.",
"security": [
{
"bearer_auth": []
},
{
"basic_auth": []
}
],
"parameters": [
{
"name": "cursor",
"in": "query",
"description": "Offset for searching",
"schema": {
"default": "a",
"oneOf": [
{
"type": "integer",
"format": "int64"
},
{
"type": "string"
}
]
}
}
],
"responses": {
"200": {
"description": "Search entries returned",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment