Skip to content

Commit

Permalink
Update backend-api-docs.json
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 6, 2022
1 parent 1985909 commit 8849b4e
Showing 1 changed file with 120 additions and 43 deletions.
163 changes: 120 additions & 43 deletions save-backend/backend-api-docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -1220,6 +1220,58 @@
]
}
},
"/api/v1/projects/not-deleted-filter": {
"post": {
"tags": [
"projects"
],
"summary": "Get non-deleted projects.",
"description": "Get non-deleted projects, available for current user.",
"operationId": "getNotDeletedProjectsWithFilters",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ProjectFilters"
}
}
}
},
"responses": {
"200": {
"description": "Successfully fetched non-deleted projects.",
"content": {
"*/*": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Project"
}
}
}
}
},
"401": {
"description": "Unauthorized",
"content": {
"*/*": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Project"
}
}
}
}
}
},
"security": [
{
"basic": []
}
]
}
},
"/api/v1/organizations/{organizationName}/users/roles": {
"get": {
"tags": [
Expand Down Expand Up @@ -1746,6 +1798,58 @@
]
}
},
"/api/v1/organizations/not-deleted": {
"post": {
"tags": [
"organizations"
],
"summary": "Get non-deleted organizations.",
"description": "Get non-deleted organizations.",
"operationId": "getNotDeletedOrganizations",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/OrganizationFilters"
}
}
}
},
"responses": {
"200": {
"description": "Successfully fetched non-deleted projects.",
"content": {
"*/*": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Organization"
}
}
}
}
},
"401": {
"description": "Unauthorized",
"content": {
"*/*": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Organization"
}
}
}
}
}
},
"security": [
{
"basic": []
}
]
}
},
"/api/v1/image/upload": {
"post": {
"tags": [
Expand Down Expand Up @@ -4478,49 +4582,6 @@
]
}
},
"/api/v1/organizations/not-deleted": {
"get": {
"tags": [
"organizations"
],
"summary": "Get non-deleted organizations.",
"description": "Get non-deleted organizations.",
"operationId": "getNotDeletedOrganizations",
"responses": {
"200": {
"description": "Successfully fetched non-deleted projects.",
"content": {
"*/*": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Organization"
}
}
}
}
},
"401": {
"description": "Unauthorized",
"content": {
"*/*": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Organization"
}
}
}
}
}
},
"security": [
{
"basic": []
}
]
}
},
"/api/v1/organizations/get/list": {
"get": {
"tags": [
Expand Down Expand Up @@ -7188,6 +7249,14 @@
}
}
},
"ProjectFilters": {
"type": "object",
"properties": {
"name": {
"type": "string"
}
}
},
"OrganizationDto": {
"required": [
"canCreateContests",
Expand Down Expand Up @@ -7228,6 +7297,14 @@
}
}
},
"OrganizationFilters": {
"type": "object",
"properties": {
"name": {
"type": "string"
}
}
},
"ImageInfo": {
"type": "object",
"properties": {
Expand Down

0 comments on commit 8849b4e

Please sign in to comment.