Skip to content

Commit

Permalink
feat: add read-only docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jarqvi committed Jan 14, 2024
1 parent 34b4ba9 commit 01916e8
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 22 deletions.
3 changes: 1 addition & 2 deletions spec/dbaas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -647,8 +647,7 @@ paths:
items:
type: array
items:
- type: string
- type: string
type: string
400:
description: Bad request
content: {}
Expand Down
74 changes: 54 additions & 20 deletions spec/paas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,41 @@ paths:
409:
description: Conflict
content: {}
'/v1/projects/{id}/read-only/{status}':
post:
tags:
- Settings
summary: Read only
description: read only that user owns
operationId: readOnly
parameters:
- name: id
in: path
required: true
schema:
type: string
- name: status
in: path
description: disable or enable
required: true
schema:
type: string
responses:
200:
description: Successful operation
content: {}
400:
description: Bad request
content: {}
401:
description: Missing authentication
content: {}
404:
description: App does not exists.
content: {}
409:
description: Conflict
content: {}
/v1/projects/update-envs:
post:
tags:
Expand Down Expand Up @@ -977,26 +1012,25 @@ paths:
200:
description: Successful operation
content:
application/json:
schema:
required:
- data
type: object
properties:
data:
type: array
items:
type: object
properties:
metaData:
type: object
values:
type: array
items:
type: array
items:
- type: string
- type: string
application/json:
schema:
required:
- data
type: object
properties:
data:
type: array
items:
type: object
properties:
metaData:
type: object
values:
type: array
items:
type: array
items:
type: string
400:
description: Bad request
content: {}
Expand Down

0 comments on commit 01916e8

Please sign in to comment.