mirror of
https://github.com/internetee/registry.git
synced 2025-06-08 13:44:47 +02:00
It seems like I made a mistake with the API URL prefix in docs
This should be fixed now. I decided on fixing the documentation instead of the actual implementation, as it has no testing footprint
This commit is contained in:
parent
43a70863cf
commit
2f776f51ac
4 changed files with 20 additions and 20 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
|
||||
## POST /api/v1/registrant/auth/eid
|
||||
|
||||
Returns a bearer token to be used for further API requests. Tokens are valid for 2 hours since their creation.
|
||||
|
||||
|
@ -24,7 +24,7 @@ Values in brackets represent values that come from the id card certificate.
|
|||
|
||||
#### Request
|
||||
```
|
||||
POST /repp/v1/auth/token HTTP/1.1
|
||||
POST /api/v1/auth/token HTTP/1.1
|
||||
Accept: application/json
|
||||
Content-type: application/json
|
||||
|
||||
|
@ -48,7 +48,7 @@ Content-Type: application.json
|
|||
}
|
||||
```
|
||||
|
||||
## POST /repp/v1/auth/username -- NOT IMPLEMENTED
|
||||
## POST /api/v1/auth/username -- NOT IMPLEMENTED
|
||||
|
||||
#### Paramaters
|
||||
|
||||
|
@ -62,7 +62,7 @@ Values in brackets represent values that come from the id card certificate
|
|||
|
||||
#### Request
|
||||
```
|
||||
POST /repp/v1/auth/token HTTP/1.1
|
||||
POST /api/v1/auth/token HTTP/1.1
|
||||
Accept: application/json
|
||||
Content-type: application/json
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue