mirror of
https://github.com/internetee/registry.git
synced 2025-07-25 12:08:27 +02:00
Add contact endpoint documentation
This commit is contained in:
parent
d49b4b5c0f
commit
f965878b42
3 changed files with 157 additions and 5 deletions
|
@ -7,7 +7,7 @@ authentication. API client should perform authentication with eID according to
|
|||
the approriate documentation, and then pass on values from the webserver's
|
||||
certificate to the API server.
|
||||
|
||||
## POST /repp/v1/registrant/auth/eid/token
|
||||
## POST /repp/v1/registrant/auth/eid
|
||||
|
||||
Returns a bearer token to be used for further API requests. Tokens are valid for 2 hours since their creation.
|
||||
|
||||
|
@ -34,7 +34,7 @@ Content-type: application/json
|
|||
|
||||
{
|
||||
"ident": "30110100103",
|
||||
"first_name": "Jaan",
|
||||
"first_name": "Jan",
|
||||
"last_name": "Tamm",
|
||||
"country": "ee",
|
||||
"issuing authority": "AS Sertifitseerimiskeskus"
|
||||
|
@ -56,7 +56,7 @@ Content-Type: application.json
|
|||
}
|
||||
```
|
||||
|
||||
## POST /repp/v1/auth/username/token -- NOT IMPLEMENTED
|
||||
## POST /repp/v1/auth/username -- NOT IMPLEMENTED
|
||||
|
||||
#### Paramaters
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue