mirror of
https://github.com/internetee/registry.git
synced 2025-08-12 04:29:33 +02:00
Session doc
This commit is contained in:
parent
faf46ec561
commit
be5f329a6c
1 changed files with 26 additions and 43 deletions
|
@ -3,59 +3,42 @@ Here are functions like login, logout, hello, poll
|
||||||
|
|
||||||
### Login request
|
### Login request
|
||||||
|
|
||||||
| Field name | Required | Attributes | Field description |
|
| Field name | Min-max | Field description |
|
||||||
| ----------------- |----------| -----|----------------- |
|
| ----------------------- |---------|------------------ |
|
||||||
| [login](#login) | true | | |
|
| `<login>` | 1 | |
|
||||||
| clTRID | false | | Client transaction id |
|
| `-<clID>` | 1 | Username |
|
||||||
|
| `-<pw>` | 1 | Password |
|
||||||
|
| `-<options>` | 0-1 | |
|
||||||
|
| `--<version>` | 0-1 | 1.0 |
|
||||||
|
| `--<lang>` | 0-1 | en |
|
||||||
|
| `-<svcs>` | 0-1 | |
|
||||||
|
| `--<objURI>` | 0-n | Object URI that is going to be used in current connection. |
|
||||||
|
| `--<svcExtension>` | 0-1 | |
|
||||||
|
| `---<extURI>` | 0-n | Extension URI that is going to be used in current connection. |
|
||||||
|
| `<clTRID>` | 0-1 | Client transaction id |
|
||||||
|
|
||||||
##### login
|
| `--<domain:name>` | 1 | Domain name. Can contain unicode characters. |
|
||||||
| Field name | Required | Field description |
|
| `<extension>` | 1 | |
|
||||||
| ----------------- |----------|----------------- |
|
| `-<eis:extdata>` | 1 | Attribute: xmlns:eis="urn:ee:eis:xml:epp:eis-1.0" |
|
||||||
| clID | true | Username |
|
| `--<eis:legalDocument>` | 1 | Base64 encoded document |
|
||||||
| pw | true | Password |
|
| `<clTRID>` | 0-1 | Client transaction id |
|
||||||
| [options](#options) | false | |
|
|
||||||
| [svcs](#svcs) | false | |
|
|
||||||
|
|
||||||
|
|
||||||
##### options
|
|
||||||
| Field name | Required | Field description |
|
|
||||||
| ----------------- |----------|----------------- |
|
|
||||||
| version | false | 1.0 |
|
|
||||||
| lang | false | en |
|
|
||||||
|
|
||||||
##### svcs
|
|
||||||
| Field name | Required | Field description |
|
|
||||||
| ----------------- |----------|----------------- |
|
|
||||||
| objURI | false | Object URI that is going to be used in current connection. (0-n) |
|
|
||||||
| [svcExtension](#svcextension) | false | |
|
|
||||||
|
|
||||||
##### svcExtension
|
|
||||||
| Field name | Required | Field description |
|
|
||||||
| ----------------- |----------|----------------- |
|
|
||||||
| extURI | false | Extension URI that is going to be used in current connection. (0-n) |
|
|
||||||
|
|
||||||
[EXAMPLE REQUEST AND RESPONSE](/doc/epp-doc.md#epp-session-when-connected-with-valid-user-logs-in-epp-user)
|
[EXAMPLE REQUEST AND RESPONSE](/doc/epp-doc.md#epp-session-when-connected-with-valid-user-logs-in-epp-user)
|
||||||
|
|
||||||
### Logout request
|
### Logout request
|
||||||
|
|
||||||
| Field name | Required | Attributes | Field description |
|
| Field name | Min-max | Field description |
|
||||||
| ----------------- |----------| -----|----------------- |
|
| ----------------------- |---------|------------------ |
|
||||||
| logout | true | | |
|
| `<logout>` | 1 | |
|
||||||
| clTRID | false | | Client transaction id |
|
| `<clTRID>` | 0-1 | Client transaction id |
|
||||||
|
|
||||||
[EXAMPLE REQUEST AND RESPONSE](/doc/epp-doc.md#epp-session-when-connected-with-valid-user-logs-out-epp-user)
|
[EXAMPLE REQUEST AND RESPONSE](/doc/epp-doc.md#epp-session-when-connected-with-valid-user-logs-out-epp-user)
|
||||||
|
|
||||||
### Poll request
|
### Poll request
|
||||||
|
|
||||||
| Field name | Required | Attributes | Field description |
|
| Field name | Min-max | Field description |
|
||||||
| ----------------- |----------| -----|----------------- |
|
| ----------------------- |---------|------------------ |
|
||||||
| [poll](#poll) | true | | |
|
| `<poll>` | 1 | Rec for receiving messages, ack for dequeuing Attribute: op="req / ack" |
|
||||||
| clTRID | false | | Client transaction id |
|
| `<clTRID>` | 0-1 | Client transaction id |
|
||||||
|
|
||||||
##### poll
|
|
||||||
|
|
||||||
| Field name | Required | Attributes | Field description |
|
|
||||||
| ----------------- |----------| -----|----------------- |
|
|
||||||
| poll | true | op (req, ack) | Rec for receiving messages, ack for dequeuing |
|
|
||||||
|
|
||||||
[EXAMPLE REQUEST AND RESPONSE](/doc/epp-doc.md#epp-poll-with-valid-user-queues-and-dequeues-messages)
|
[EXAMPLE REQUEST AND RESPONSE](/doc/epp-doc.md#epp-poll-with-valid-user-queues-and-dequeues-messages)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue