Skip to content

Commit

Permalink
fix: adding blurhash to definitions
Browse files Browse the repository at this point in the history
Signed-off-by: skalidindi53 <[email protected]>
  • Loading branch information
skalidindi53 committed Aug 19, 2024
1 parent ba9638e commit 2aa64df
Show file tree
Hide file tree
Showing 26 changed files with 2,131 additions and 2,149 deletions.
132 changes: 62 additions & 70 deletions apps/dashboard/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -187,43 +187,39 @@
"basic_auth": []
}
],
"requestBody": {
"required": false,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"sinceIds": {
"type": "object",
"default": [],
"description": "Array indexed by widget Ids, contains date/id from which we want the new items",
"additionalProperties": {
"type": "string"
}
},
"limit": {
"type": "integer",
"format": "int64",
"default": 7,
"description": "Limit number of result items per widget",
"minimum": 1,
"maximum": 30
},
"widgets": {
"type": "array",
"default": [],
"description": "Limit results to specific widgets",
"items": {
"type": "string"
}
}
}
"parameters": [
{
"name": "sinceIds",
"in": "query",
"description": "Array indexed by widget Ids, contains date/id from which we want the new items",
"schema": {
"type": "string"
}
},
{
"name": "limit",
"in": "query",
"description": "Limit number of result items per widget",
"schema": {
"type": "integer",
"format": "int64",
"default": 7,
"minimum": 1,
"maximum": 30
}
},
{
"name": "widgets[]",
"in": "query",
"description": "Limit results to specific widgets",
"schema": {
"type": "array",
"default": [],
"items": {
"type": "string"
}
}
}
},
"parameters": [
},
{
"name": "OCS-APIRequest",
"in": "header",
Expand Down Expand Up @@ -290,43 +286,39 @@
"basic_auth": []
}
],
"requestBody": {
"required": false,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"sinceIds": {
"type": "object",
"default": [],
"description": "Array indexed by widget Ids, contains date/id from which we want the new items",
"additionalProperties": {
"type": "string"
}
},
"limit": {
"type": "integer",
"format": "int64",
"default": 7,
"description": "Limit number of result items per widget, not more than 30 are allowed",
"minimum": 1,
"maximum": 30
},
"widgets": {
"type": "array",
"default": [],
"description": "Limit results to specific widgets",
"items": {
"type": "string"
}
}
}
"parameters": [
{
"name": "sinceIds",
"in": "query",
"description": "Array indexed by widget Ids, contains date/id from which we want the new items",
"schema": {
"type": "string"
}
},
{
"name": "limit",
"in": "query",
"description": "Limit number of result items per widget, not more than 30 are allowed",
"schema": {
"type": "integer",
"format": "int64",
"default": 7,
"minimum": 1,
"maximum": 30
}
},
{
"name": "widgets[]",
"in": "query",
"description": "Limit results to specific widgets",
"schema": {
"type": "array",
"default": [],
"items": {
"type": "string"
}
}
}
},
"parameters": [
},
{
"name": "OCS-APIRequest",
"in": "header",
Expand Down
26 changes: 9 additions & 17 deletions apps/dav/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -382,24 +382,16 @@
"basic_auth": []
}
],
"requestBody": {
"required": false,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"location": {
"type": "string",
"nullable": true,
"description": "location/URL to filter by"
}
}
}
}
}
},
"parameters": [
{
"name": "location",
"in": "query",
"description": "location/URL to filter by",
"schema": {
"type": "string",
"nullable": true
}
},
{
"name": "OCS-APIRequest",
"in": "header",
Expand Down
84 changes: 36 additions & 48 deletions apps/federation/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,31 +63,25 @@
"basic_auth": []
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"url",
"token"
],
"properties": {
"url": {
"type": "string",
"description": "URL of the server"
},
"token": {
"type": "string",
"description": "Token of the server"
}
}
}
}
}
},
"parameters": [
{
"name": "url",
"in": "query",
"description": "URL of the server",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "token",
"in": "query",
"description": "Token of the server",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "OCS-APIRequest",
"in": "header",
Expand Down Expand Up @@ -297,31 +291,25 @@
"basic_auth": []
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"url",
"token"
],
"properties": {
"url": {
"type": "string",
"description": "URL of the server"
},
"token": {
"type": "string",
"description": "Token of the server"
}
}
}
}
}
},
"parameters": [
{
"name": "url",
"in": "query",
"description": "URL of the server",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "token",
"in": "query",
"description": "Token of the server",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "OCS-APIRequest",
"in": "header",
Expand Down
61 changes: 38 additions & 23 deletions apps/files/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,25 @@
}
}
},
"TemplateField": {
"type": "object",
"required": [
"index",
"content",
"type"
],
"properties": {
"index": {
"type": "string"
},
"content": {
"type": "string"
},
"type": {
"type": "string"
}
}
},
"TemplateFile": {
"type": "object",
"required": [
Expand Down Expand Up @@ -1973,30 +1992,26 @@
"basic_auth": []
}
],
"requestBody": {
"required": false,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"path": {
"type": "string",
"default": "/",
"description": "The path relative to the user folder"
},
"depth": {
"type": "integer",
"format": "int64",
"default": 1,
"description": "The depth of the tree"
}
}
}
}
}
},
"parameters": [
{
"name": "path",
"in": "query",
"description": "The path relative to the user folder",
"schema": {
"type": "string",
"default": "/"
}
},
{
"name": "depth",
"in": "query",
"description": "The depth of the tree",
"schema": {
"type": "integer",
"format": "int64",
"default": 1
}
},
{
"name": "OCS-APIRequest",
"in": "header",
Expand Down
Loading

0 comments on commit 2aa64df

Please sign in to comment.