Skip to content

Commit

Permalink
chore(shadowbox): remove deprecated access key get method
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellacosse authored Aug 14, 2023
1 parent 1ac9f23 commit 98d6ff5
Showing 1 changed file with 0 additions and 36 deletions.
36 changes: 0 additions & 36 deletions src/shadowbox/server/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,42 +189,6 @@ paths:
{"id":"1","name":"First","password":"xXxXxX","port":4410,"method":"chacha20-ietf-poly1305","accessUrl":"ss://[email protected]:4410/?outline=1"},
{"id":"2","name":"SecondWithCustomDataLimit","password":"XxXxXx","port":25424,"method":"chacha20-ietf-poly1305","dataLimit":{"bytes":8589934592},"accessUrl":"ss://[email protected]:25424/?outline=1"}]}
/access-keys/{id}:
get:
description: Get an access key
tags:
- Access Key
parameters:
- name: id
in: path
required: true
description: The id to get the access key
schema:
type: string
responses:
'200':
description: The access key
content:
application/json:
schema:
$ref: "#/components/schemas/AccessKey"
examples:
'0':
value: '{"id":"0","name":"Admin","password":"XxXxXx","port":18162,"method":"chacha20-ietf-poly1305","accessUrl":"ss://[email protected]:18162/?outline=1"}'
'404':
description: Access key inexistent
content:
application/json:
schema:
type: object
properties:
code:
type: string
message:
type: string
examples:
'0':
value: >-
{"code":"NotFoundError","message":"No access key found"}
delete:
description: Deletes an access key
tags:
Expand Down

0 comments on commit 98d6ff5

Please sign in to comment.