mirror of
https://github.com/internetee/registry.git
synced 2025-06-06 12:47:29 +02:00
Remove country as identification parameter, restore server statuses
This commit is contained in:
parent
74c97eb923
commit
1b9a504fb5
2 changed files with 8 additions and 10 deletions
|
@ -15,12 +15,11 @@ Returns a bearer token to be used for further API requests. Tokens are valid for
|
|||
|
||||
Values in brackets represent values that come from the id card certificate.
|
||||
|
||||
| Field name | Required | Type | Allowed values | Description |
|
||||
| ----------------- | -------- | ---- | -------------- | ----------- |
|
||||
| ident | true | String | | Identity code of the user (`serialNumber`) |
|
||||
| first_name | true | String | | Name of the customer (`GN`) |
|
||||
| last_name | true | String | | Name of the customer (`SN`) |
|
||||
| country | true | String | 'ee' | Code of the country that issued the id card (`C`) |
|
||||
| Field name | Required | Type | Allowed values | Description |
|
||||
| ----------------- | -------- | ---- | -------------- | ----------- |
|
||||
| ident | true | String | | Identity code of the user (`serialNumber`) |
|
||||
| first_name | true | String | | Name of the customer (`GN`) |
|
||||
| last_name | true | String | | Name of the customer (`SN`) |
|
||||
|
||||
|
||||
#### Request
|
||||
|
@ -33,7 +32,6 @@ Content-type: application/json
|
|||
"ident": "30110100103",
|
||||
"first_name": "Jan",
|
||||
"last_name": "Tamm",
|
||||
"country": "ee",
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -46,9 +46,9 @@ Content-Type: application/json
|
|||
"pending_json": {},
|
||||
"force_delete_at": null,
|
||||
"statuses": [
|
||||
"clientUpdateProhibited",
|
||||
"clientDeleteProhibited",
|
||||
"clientTransferProhibited"
|
||||
"serverUpdateProhibited",
|
||||
"serverDeleteProhibited",
|
||||
"serverTransferProhibited"
|
||||
],
|
||||
"reserved": false,
|
||||
"status_notes": {},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue