Skip to content

Commit 735a03c

Browse files
author
Gergő Papp-Szentannai
committed
Remove administrative routes that require whitelisted API keys
1 parent d3925ca commit 735a03c

File tree

2 files changed

+0
-40
lines changed

2 files changed

+0
-40
lines changed

auth/niauth.yaml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -32,25 +32,6 @@ paths:
3232
default:
3333
$ref: '#/responses/Error'
3434

35-
/session-keys:
36-
post:
37-
tags:
38-
- keys
39-
summary: Creates temporary API Keys
40-
description: Create a temporary session key which is valid for 1 hour. The caller needs a whitelisted API key to issue session keys.
41-
operationId: create-session-key
42-
parameters:
43-
- $ref: '#/parameters/CreateSessionKeyRequest'
44-
responses:
45-
200:
46-
$ref: '#/responses/CreateSessionKeyResponse'
47-
400:
48-
$ref: '#/responses/ValidationError'
49-
401:
50-
$ref: '#/responses/Unauthorized'
51-
default:
52-
$ref: '#/responses/Error'
53-
5435
/keys:
5536
get:
5637
tags:

user/niuser.yaml

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -17,27 +17,6 @@ security:
1717
schemes:
1818
- https
1919
paths:
20-
'/orgs/{name}':
21-
get:
22-
tags:
23-
- orgs
24-
summary: 'Get organization'
25-
operationId: get-org
26-
description: Returns the organization with the given name
27-
parameters:
28-
- in: path
29-
required: true
30-
name: name
31-
description: The org name, e.g. 'SystemLink Server'
32-
type: string
33-
responses:
34-
200:
35-
$ref: '#/responses/GetOrgResponse'
36-
404:
37-
$ref: '#/responses/NotFound'
38-
default:
39-
$ref: '#/responses/Error'
40-
4120
'/users/query':
4221
post:
4322
tags:

0 commit comments

Comments
 (0)