You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/endpoints.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ Previously when working with applications within gfmodules, the actual BSN numbe
4
4
5
5
This document lists the main service endpoints. The testing/helper endpoints (`/test/...`) are documented in [tests.md](tests.md), and the end-to-end OPRF evaluation flow is described in [oprf-eval-flow.md](oprf-eval-flow.md).
6
6
7
-
A recipient organization is always identified by a URA in the form `ura:<8 digits>` (e.g. `ura:90000036`).
7
+
A recipient organization is always identified by a OIN in the form `oin:<20 digits>` (e.g. `oin:00000099000000001000`).
8
8
9
9
## Organizational Services
10
10
@@ -13,21 +13,21 @@ Create a new organization.
13
13
14
14
```json
15
15
{
16
-
"ura": "90000036",
16
+
"oin": "00000099000000001000",
17
17
"name": "Example Organization",
18
18
"max_key_usage": "irp"
19
19
}
20
20
```
21
21
22
22
`max_key_usage` is one of `bsn`, `rp`, or `irp` and caps which pseudonym types the organization may exchange.
23
23
24
-
#### `GET /org/{ura}`
25
-
Return the organization for the given URA (digits only, e.g. `90000036`).
24
+
#### `GET /org/{oin}`
25
+
Return the organization for the given OIN (digits only, e.g. `00000099000000001000`).
26
26
27
-
#### `PUT /org/{ura}`
27
+
#### `PUT /org/{oin}`
28
28
Update an organization's `name` and `max_key_usage`.
29
29
30
-
#### `DELETE /org/{ura}`
30
+
#### `DELETE /org/{oin}`
31
31
Delete an organization (and its keys).
32
32
33
33
## Key Registration Services
@@ -45,7 +45,7 @@ Register the public key (taken from the mTLS client certificate) for one or more
45
45
46
46
Returns `201` on success, `409` if a key for that organization/scope already exists.
47
47
48
-
#### `GET /keys/{ura}`
48
+
#### `GET /keys/{oin}`
49
49
List the registered public keys for an organization.
50
50
51
51
#### `PUT /keys/{key_id}`
@@ -62,7 +62,7 @@ Exchange a personal ID for a pseudonym targeted at a recipient organization/scop
0 commit comments