2024-01-09 20:08:45 -05:00
## API Documentation for Lox Distributor
### Overview
The Lox distributor receives resources from [rdsys ](https://gitlab.torproject.org/tpo/anti-censorship/rdsys ) and writes them to [Lox BridgeLines ](https://git-crysp.uwaterloo.ca/iang/lox/src/master/src/bridge_table.rs#L42 ) which are used to populate Lox's bridgetable. The bridgelines are sorted into open entry and hot spare buckets (which can be used to replace blocked bridges or those that are no longer distributed by rdsys). Each time resources are requested from rdsys, the bridgelines received are synced with Lox's existing bridgetable. New resources are appended to the bridgetable and assigned to new ([open entry or](https://gitlab.torproject.org/tpo/anti-censorship/lox/-/blob/main/crates/lox-distributor/src/lox_context.rs?ref_type=heads#L222)) hot spare buckets. Resources with changed information are identified by their fingerprint, and updated in the bridgetable. Concurrently with syncing, the distributor receives and responds to requests from [Lox clients ](https://gitlab.torproject.org/tpo/anti-censorship/lox/lox-wasm ).
### Lox client requests
Lox clients make periodic requests to the Lox distributor through `POST` requests to various endpoints:
#### Headers
- `Host:` must be set
- `Content-Type:` must be set to `application/json`
2024-01-11 15:09:15 -05:00
### Client Requests without Data
2024-01-09 20:08:45 -05:00
#### Reachability Credential
2024-01-11 15:09:15 -05:00
- `Endpoint: /reachability`
- `Body:` empty
2024-01-09 20:08:45 -05:00
Reachability credentials are freshness tokens that confirm the bucket in a Lox credential isn't blocked.
< details >
2024-01-11 13:12:13 -05:00
< summary > Reachability Example Request:< / summary >
2024-01-09 20:08:45 -05:00
```
POST /reachability HTTP/1.1
Host: localhost:8100
Content-Type: application/json
```
< / details >
2024-01-11 13:12:13 -05:00
< details >
< summary > Reachability Example Response Body:< / summary >
2024-01-11 15:09:15 -05:00
Note: A real etable response body will be much larger that this example.
2024-01-11 13:12:13 -05:00
```
2024-01-11 15:09:15 -05:00
{"etable":{"115":[216,83,115,151,70,80,221,141,180,37,83,237,249,185,31,4,24,96,119,4,99,180,191,5,10,230,50,250,6,149,240,206,215,192,114,70,168,102,108,144,109,255,181,72,110,153,236,54,38,9,200,73,240,193,252,191,249,121,87,189,95,209,49,252,192,75,124,200,158,238,30,164,207,180,201,87,102,214,135,101,188,126,136,240,55,77,227,57,63,162,162,65,114,16,154,200,35,227,103,151,238,48,224,12,149,19,200,112,138,8,109,58,49,214,55,125,232,129,151,216,40,91,149,165,224,204,164,68,225,9,86,55,76,17,199,162,97,189,14,35,175,197,216,184,137,51,251,212,168,155,114,2,76,43,95,44,250,89,70,51,70,52,225,190,205,218,131,247,229,164,0,193,94,99,82,196,196,28,234,186,64,138,111,47,126,185,1,31,179,209,97,130,30,146,251,214,157,192,247,144,132,114,46,146,254,95,211,83,224,23,184,140,228,82,83,229,135,87,153,153,113,139,13,128,148,38,52,191,153,105,193,76,59,198,41,32,24,108,97,74,124,0,212,126,193,46,16,16,16,151,129,101,72,32,232,1,206,230,244,198,21,77,172,80,223,10,199,29,241,87,42,219,154,94,184,99,110,179,190,133,238,66,112,62,227,163,9,194,90,246,31,72,186,157,238,227,247,221,253,137,251,181,6,228,58,182,32,30,121,60,159,116,21,123,234,235,25,175,178,156,218,84,104,158,173,194,30,217,195,142,218,127,148,230,151,228,117,177,241,223,253,118,197,43,122,99,41,211,255,205,49,76,34,137,154,119,19,122,20,110,154,244,61,104,110,250,244,188,20,229,200,180,199,35,188,239,206,195,152,221,71,185,127,234,58,49,55,48,2,103,182,161,249,211,25,129,17,66,55,200,216,7,237,166,183,9,32,30,167,141,40,99,161,201,45,165,100,54,145,235,199,21,192,100,224,80,3,91,212,122,127,178,57,171,244,198,132,17,224,98,72,141,110,6,23,39,89,83,60,29,124,113,82,116,32,5,198,142,120,183,133,125,16,227,55,65,87,105,221,185,183,100,90,170,120,207,75,210,135,248,132,165,40,58,187,38,215,224,16,252,2,193,242,60,213,235,218,106,246,120,31,218,94,169,187,160,168,115,65,113,49,132,188,90,236,214,226,248,89,231,143,252,147,205,35,2,23,159,89,43,253,20,212,146,39,114,5,106,203,208,70,223,212,239,201,224,239,95,34,91,194,237,42,142,147,196,109,47,251,112,83,49,87,51,56,248,237,190,54,221,162,140,42,34,1,142,173,53,242,204,185,138,81,115,170,147,22,161,85,93,74,171,130,11,61,45,49,81,94,134,69,125,75,120,74,3,39,98,141,81,67,58,26,160,244,215,208,195,169,48,25,6,13,204,20,86,1,170,122,41,123,10,152,108,74,33,0,180,139,141,30,79,23,195,141,80,224,91,33,161,107,162,99,148,240,18,49,97,14,225,92,231,198,254,87,11,166,96,235,65,222,32,62,122,84,68,27,120,227,242,194,110,63,47,40,218,41,45,160,76,171,105,47,40,140,50],"123":[232,72,118,70,65,139,125,122,99,192,144,13,93,72,19,148,97,170,35,215,237,10,235,33,130,248,62,19,193,77,36,175,68,116,8,45,153,193,242,123,66,140,236,234,221,15,253,142,154,172,181,91,137,156,111,102,156,101,8,154,126,81,136,166,36,168,14,165,228,149,46,168,77,132,254,215,94,24,35,30,227,89,91,10,14,220,5,59,152,37,250,161,248,147,187,232,185,184,155,131,176,184,111,137,76,223,148,99,137,135,206,86,254,179,88,216,94,13,184,17,77,187,33,185,6,230,196,196,93,32,141,234,138,242,210,34,156,150,214,162,95,244,52,151,3,115,84,219,3,165,160,153,117,161,112,123,237,207,140,173,89,200,66,51,237,232,250,208,216,30,70,229,80,169,111,18,238,184,164,243,91,179,156,219,217,109,93,188,163,194,59,227,180,14,122,198,105,197,52,245,43,3,230,135,146,92,80,228,115,177,158,244,128,214,86,178,253,88,28,229,90,116,181,244,194,226,72,197,58,239,237,18,0,77,116,244,87,242,157,95,195,154,236,245,30,128,10,97,212,145,78,145,158,152,177,63,130,190,4,151,239,128,90,99,226,8,152,148,223,19,3,180,185,88,241,205,185,168,134,100,57,250,33,99,123,61,25,180,152,209,123,197,149,6,24,145,28,31,224,224,98,80,181,150,102,41,206,122,134,117,24,209,57,227,238,236,25,10,132,125,99,163,28,30,58,142,231,186,132,196,41,1,79,207,240,69,144,196,81,167,69,163,140,97,180,60,119,163,105,158,94,134,255,110,238,40,115,57,181,147,12,47,255,206,72,223,78,24,166,124,110,175,30,52,37,124,8,78,106,67,237,77,72,115,240,174,86,251,129,56,5,69,24,17,205,135,40,8,196,72,79,163,185,67,211,71,27,224,30,108,24,236,30,225,25,100,74,240,107,233,226,30,50,172,211,223,230,105,145,13,223,100,40,218,187,219,96,8,124,126,118,254,1
2024-01-11 13:12:13 -05:00
```
< / details >
2024-01-09 20:08:45 -05:00
#### Public Keys
2024-01-11 15:09:15 -05:00
- `Endpoint: /pubkeys`
- `Body:` empty
2024-01-09 20:08:45 -05:00
The public keys for each type of Lox credential are bundled together and can be reused until Lox keys are rotated.
< details >
2024-01-11 13:12:13 -05:00
< summary > Pubkeys Example Request:< / summary >
2024-01-09 20:08:45 -05:00
```
POST /pubkeys HTTP/1.1
Host: localhost:8100
Content-Type: application/json
```
< / details >
2024-01-11 13:12:13 -05:00
< details >
< summary > Pubkeys Example Response Body:< / summary >
```
[{"X":[[32,42,33,192,42,192,76,69,25,142,135,47,167,226,145,12,9,200,219,134,184,199,251,181,191,24,246,111,56,241,86,117],[86,203,251,39,118,208,115,192,60,128,84,255,164,9,66,235,184,199,118,174,188,126,238,98,67,174,240,159,9,66,6,31],[86,73,27,240,105,210,61,53,222,251,187,16,118,151,186,33,91,59,163,160,32,7,219,137,185,49,70,192,214,85,217,79],[132,183,214,45,227,118,3,236,8,76,193,41,61,160,100,93,177,5,120,165,173,13,83,171,253,190,74,94,151,113,26,16],[116,207,116,236,37,247,161,233,184,217,193,17,90,157,191,78,61,139,180,31,240,116,224,182,162,232,248,194,162,228,210,71],[28,70,221,171,158,248,248,74,227,204,199,164,81,29,178,216,149,5,7,196,30,66,172,93,133,26,89,236,223,99,126,75],[86,35,210,49,17,13,182,111,80,225,187,23,220,161,105,32,130,19,105,80,151,230,162,67,118,160,178,223,49,162,129,125]]},{"X":[[74,43,179,87,134,246,247,215,231,162,7,96,231,78,193,82,217,240,122,55,4,63,46,37,216,236,125,224,186,232,64,54],[90,46,128,37,199,205,137,207,235,218,100,14,93,10,83,179,154,199,71,136,240,47,31,227,232,159,238,107,31,3,18,27],[176,130,161,54,245,155,205,235,96,5,82,7,146,234,34,41,195,90,80,131,69,30,215,170,164,76,87,40,78,185,195,41],[34,138,37,63,126,59,100,100,169,112,156,115,188,103,134,239,196,146,96,79,33,185,66,121,206,227,117,146,107,141,166,15],[246,19,224,128,119,40,140,254,122,194,237,42,73,171,56,13,89,16,132,111,251,38,116,209,52,241,195,70,150,134,143,1]]},{"X":[[30,121,219,56,164,90,181,198,41,0,75,175,116,149,149,214,114,210,58,96,94,98,41,129,102,7,53,212,154,240,116,46],[116,66,239,117,202,173,23,51,11,92,234,52,201,73,22,196,177,19,137,183,90,225,224,37,226,68,56,106,1,237,80,89],[8,185,193,108,42,105,110,148,196,165,38,113,8,148,21,160,241,51,31,23,140,223,116,250,75,157,50,154,43,125,239,71]]},{"X":[[192,30,38,225,82,41,239,207,228,117,85,181,23,159,125,203,53,195,141,149,252,50,221,49,63,157,147,152,219,72,161,83],[182,187,203,171,143,89,69,70,59,213,154,130,15,112,50,30,250,138,171,61,26,198,3,73,118,129,79,108,242,81,47,12],[110,69,138,66,120,45,177,47,14,235,41,144,197,136,188,245,127,73,85,103,182,48,40,225,48,250,240,44,135,79,12,119]]},{"X":[[158,144,97,7,148,145,17,91,5,41,218,230,194,158,124,30,103,129,218,108,243,205,53,42,126,84,194,97,166,63,158,107],[64,140,146,26,89,105,199,139,163,155,39,98,81,209,236,252,130,128,36,139,87,16,18,3,74,214,172,119,176,69,106,90],[12,88,112,202,248,255,37,204,90,169,50,5,154,36,42,189,30,189,198,157,22,210,67,86,52,14,46,50,149,53,91,12],[184,37,27,9,36,84,123,31,185,2,182,25,155,45,74,241,51,241,233,3,91,219,101,125,173,0,203,232,116,208,117,88],[148,106,194,9,9,125,247,153,92,97,243,101,170,6,227,130,52,51,182,34,197,187,151,242,30,200,156,243,158,100,96,106]]}]
```
< / details >
2024-01-09 20:08:45 -05:00
#### Request Invite
2024-01-11 15:09:15 -05:00
- `Endpoint: /invite`
- `Body:` empty
2024-01-09 20:08:45 -05:00
Open invitations can be requested by untrusted users to get an initial Lox credential. These will be distributed through a telegram bot that requests through this endpoint.
< details >
< summary > Example:< / summary >
```
POST /invite HTTP/1.1
Host: localhost:8100
Content-Type: application/json
```
< / details >
2024-01-11 15:09:15 -05:00
< details >
< summary > Invite Example Response Body:< / summary >
```
{"invite":[228,18,210,130,102,196,210,213,69,137,253,75,245,195,212,35,152,238,130,230,210,74,116,63,169,26,102,244,163,12,238,13,31,0,0,0,16,79,41,88,83,187,32,139,35,106,121,186,208,89,118,136,215,12,11,191,194,183,182,188,69,87,61,110,89,163,90,54,201,151,142,96,184,239,93,123,215,61,223,12,44,86,177,107,206,149,69,68,230,237,51,71,83,101,140,21,238,96,68,9]}
```
< / details >
2024-01-09 20:08:45 -05:00
#### Client Requests with Data
Once a user has an open invitation or Lox credential, each client request will be sent with a JSON object to different endpoints corresponding to the correct Lox protocol:
##### Open Invitation
2024-01-11 15:09:15 -05:00
- `Endpoint: /openreq`
- `Body:` Open Invitation Zero-knowledge proof
2024-01-09 20:08:45 -05:00
< details >
2024-01-11 15:09:15 -05:00
< summary > Open Invite Example Request:< / summary >
2024-01-09 20:08:45 -05:00
```
POST /openreq HTTP/1.1
Host: localhost:8100
Content-Type: application/json
2024-01-11 15:09:15 -05:00
{"invite":[228,18,210,130,102,196,210,213,69,137,253,75,245,195,212,35,152,238,130,230,210,74,116,63,169,26,102,244,163,12,238,13,31,0,0,0,16,79,41,88,83,187,32,139,35,106,121,186,208,89,118,136,215,12,11,191,194,183,182,188,69,87,61,110,89,163,90,54,201,151,142,96,184,239,93,123,215,61,223,12,44,86,177,107,206,149,69,68,230,237,51,71,83,101,140,21,238,96,68,9],"D":[94,100,108,219,153,108,10,47,105,169,219,90,101,162,117,236,143,110,65,29,46,114,31,21,6,244,111,82,57,62,149,59],"EncIdClient":[[142,39,135,247,136,15,67,60,74,201,139,83,134,62,106,163,218,43,56,171,34,9,104,103,46,174,229,192,162,103,189,48],[228,234,189,30,118,90,219,252,113,188,166,97,140,56,88,237,207,75,22,124,188,151,28,168,59,19,42,71,90,169,237,89]],"piUserBlinding":{"challenge":[157,9,221,197,147,251,87,253,138,142,91,83,228,66,229,134,208,168,51,147,246,226,49,120,5,228,58,38,64,66,158,14],"responses":[[117,133,171,57,2,68,36,5,84,146,37,135,91,203,149,65,63,90,215,68,168,243,119,165,94,146,18,158,145,46,189,14],[223,70,110,193,143,170,216,41,81,160,30,55,2,25,140,193,238,185,77,173,165,27,173,122,27,67,31,135,154,37,217,9],[158,183,209,53,208,212,245,29,136,41,116,45,18,172,174,203,71,51,73,205,15,70,10,53,4,106,88,209,250,40,174,4]]}}{"request_origin":"https","resource_types":["obfs2","scramblesuit"]}
```
< / details >
< details >
< summary > Open Invite Example Response Body:< / summary >
```
{"P":[220,40,162,49,189,132,237,154,9,121,29,198,23,29,138,137,141,83,87,223,160,89,83,157,159,67,0,23,163,184,129,81],"EncQ":[[76,29,235,128,190,254,240,122,225,124,118,244,30,19,248,157,34,12,226,170,46,67,165,195,179,207,233,93,116,211,3,41],[84,102,134,223,47,52,71,186,218,201,78,231,178,29,32,228,254,4,71,253,125,110,74,69,97,164,78,191,230,94,86,98]],"id_server":[179,98,140,96,223,189,73,156,21,185,229,174,66,64,124,49,192,122,214,97,53,246,189,137,232,55,216,183,4,250,56,15],"TId":[18,26,143,239,192,59,111,91,232,85,16,196,187,137,124,231,165,240,24,173,170,215,15,83,231,253,80,198,145,73,199,49],"bucket":[221,14,32,112,203,57,103,253,109,118,255,12,195,243,58,177,31,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"level_since":[246,138,37,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"piBlindIssue":{"challenge":[248,88,17,104,6,196,46,140,228,12,140,164,21,123,94,82,230,116,69,59,228,3,70,251,154,93,127,172,251,211,248,4],"responses":[[26,100,85,205,155,93,139,245,24,139,49,81,1,230,67,215,20,85,110,26,192,151,242,39,84,126,219,46,126,174,52,6],[56,238,48,131,90,203,45,235,107,159,39,31,5,30,140,193,206,215,15,107,37,116,213,246,224,201,20,45,238,51,182,11],[14,46,76,99,72,74,216,243,168,138,190,229,255,136,112,145,235,5,77,77,173,254,99,127,108,60,98,204,214,252,238,3],[67,61,231,64,187,7,181,80,185,67,247,174,41,138,223,132,124,100,79,111,86,209,116,183,67,3,202,75,74,169,152,2],[26,191,73,37,93,92,44,161,118,204,243,218,3,39,143,73,185,78,100,163,196,7,85,217,153,50,202,29,225,5,87,10],[10,178,58,22,92,37,193,206,212,196,218,212,186,5,179,22,50,91,195,228,165,106,43,47,141,153,116,141,41,50,67,2],[98,71,252,29,242,64,200,69,154,202,210,26,164,238,225,118,122,104,119,39,97,80,51,225,122,227,19,215,207,128,231,13],[65,45,175,119,22,72,178,106,62,78,122,17,39,220,75,138,11,48,136,163,147,33,207,115,133,86,59,170,150,234,203,11]]},"bridge_line":{"addr":[49,51,46,50,49,54,46,49,57,56,46,50,51,55,0,0],"port":54223,"uid_fingerprint":8710069598945303353,"info":[116,121,112,101,61,111,98,102,115,52,32,102,105,110,103,101,114,112,114,105,110,116,61,34,68,51,50,51,55,68,51,51,49,68,48,70,51,69,70,69,68,54,52,50,70,67,56,54,69,55,66,55,57,50,52,70,65,68,56,51,65,69,53,56,34,32,112,97,114,97,109,115,61,83,111,109,101,40,123,34,105,97,116,45,109,111,100,101,34,58,32,34,48,34,44,32,34,99,101,114,116,34,58,32,34,90,90,90,90,90,90,90,90,90,90,90,34,125,41,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}}{"invite":[228,18,210,130,102,196,210,213,69,137,253,75,245,195,212,35,152,238,130,230,210,74,116,63,169,26,102,244,163,12,238,13,31,0,0,0,16,79,41,88,83,187,32,139,35,106,121,186,208,89,118,136,215,12,11,191,194,183,182,188,69,87,61,110,89,163,90,54,201,151,142,96,184,239,93,123,215,61,223,12,44,86,177,107,206,149,69,68,230,237,51,71,83,101,140,21,238,96,68,9]}
2024-01-09 20:08:45 -05:00
```
< / details >
##### Trust Promotion
2024-01-11 15:09:15 -05:00
- `Endpoint: /trustpromo`
- `Body:` Trust Promotion Zero-knowledge proof
2024-01-09 20:08:45 -05:00
< details >
2024-01-11 15:09:15 -05:00
< summary > Trust Promotion Example Request:< / summary >
2024-01-09 20:08:45 -05:00
```
POST /trustpromo HTTP/1.1
Host: localhost:8100
Content-Type: application/json
2024-01-11 15:09:15 -05:00
{"P":[238,51,252,33,156,200,65,95,163,80,108,81,108,100,251,139,162,147,217,219,132,29,108,127,217,212,120,19,86,158,189,55],"id":[223,181,3,60,121,224,196,117,222,133,75,78,85,245,141,92,140,19,42,47,37,110,51,62,174,43,168,164,57,187,56,4],"CBucket":[190,161,236,174,70,206,146,112,25,114,171,123,119,115,192,246,110,164,52,101,81,151,244,219,254,154,133,211,37,10,85,112],"CSince":[204,19,214,165,205,32,108,237,103,42,91,143,149,67,207,15,76,168,46,78,201,215,75,219,49,39,167,110,62,136,161,106],"CQ":[14,158,125,184,235,34,46,232,224,118,194,90,54,166,67,226,219,104,190,129,240,233,240,118,212,241,186,174,113,80,199,112],"D":[38,161,153,17,211,176,124,193,83,111,147,56,249,178,196,117,196,104,177,8,7,160,231,255,46,6,107,76,164,244,86,121],"EncBucket":[[222,133,127,184,172,123,31,9,131,126,186,175,228,214,10,235,47,142,232,163,155,180,177,150,111,184,69,102,132,4,82,54],[234,103,146,231,197,225,205,195,238,228,105,163,100,176,26,143,113,143,89,200,172,224,220,219,237,8,106,29,8,49,65,90]],"CG1":[134,244,231,158,42,174,232,166,59,38,197,79,27,123,203,153,211,145,177,180,26,175,181,10,140,169,57,110,229,118,246,106],"CG2":[114,134,245,238,211,152,81,31,1,168,223,97,107,242,49,27,179,162,175,72,119,127,5,115,223,190,24,174,221,243,52,103],"CG3":[132,187,151,52,177,236,68,181,81,37,75,26,183,44,47,122,215,25,124,201,73,125,150,15,185,185,225,115,90,89,27,58],"CG4":[74,108,7,47,10,217,9,12,156,194,246,31,245,120,189,182,99,20,233,52,231,232,103,241,146,255,2,217,162,236,130,110],"CG5":[252,8,92,13,72,147,172,168,138,81,13,60,39,243,172,174,166,117,136,15,3,247,84,161,222,189,41,253,79,233,155,15],"CG6":[250,238,190,151,24,239,165,254,164,95,54,239,216,243,160,124,53,130,39,15,62,8,120,153,84,95,20,150,219,29,125,20],"CG7":[78,107,58,93,55,226,89,57,186,151,47,146,160,193,237,24,169,194,37,208,153,61,1,104,88,189,32,106,22,153,242,55],"CG8":[190,24,114,17,197,159,41,10,84,117,177,4,18,214,32,35,245,213,180,184,200,154,60,46,81,152,133,192,207,2,143,18],"CG0sq":[100,220,53,104,82,64,64,232,163,32,156,98,162,13,62,196,85,23,127,42,9,234,103,127,147,84,219,41,78,131,53,99],"CG1sq":[92,21,50,92,251,206,72,67,192,173,126,83,57,245,13,44,129,241,148,27,40,127,142,46,248,231,183,93,249,235,29,67],"CG2sq":[198,29,50,100,85,13,242,197,68,179,54,202,148,199,245,248,120,43,161,238,179,242,104,240,176,28,205,90,248,135,0,109],"CG3sq":[186,183,51,182,255,74,103,135,63,42,248,235,33,186,152,199,109,154,53,221,201,237,198,35,53,145,96,81,126,114,16,1],"CG4sq":[180,234,48,111,120,236,59,226,101,227,96,20,5,27,52,16,104,55,57,70,102,71,46,161,154,219,212,45,0,97,153,108],"CG5sq":[86,169,142,194,118,173,228,180,71,212,2,13,25,67,130,86,149,9,174,2,186,124,218,208,98,72,118,107,70,155,221,99],"CG6sq":[172,155,182,195,13,182,211,114,164,90,152,171,45,193,181,133,47,14,182,23,56,184,143,15,129,239,226,224,117,214,90,19],"CG7sq":[28,184,201,253,53,212,58,174,212,236,132,85,222,214,183,111,133,164,238,21,157,225,80,169,9,115,123,216,201,131,34,116],"CG8sq":[10,182,140,134,94,180,200,104,82,231,244,216,237,80,192,152,122,81,146,44,150,109,251,45,198,223,154,14,121,167,10,13],"piUser":{"challenge":[39,54,0,204,156,124,19,203,8,33,238,49,165,132,138,79,131,101,4,110,55,200,25,69,11,236,127,121,228,152,136,9],"responses":[[64,129,178,84,118,162,119,61,73,173,115,163,50,121,35,227,246,15,148,220,151,117,94,112,160,173,179,139,242,250,80,4],[189,33,223,7,134,178,173,91,14,94,30,83,183,59,68,48,113,150,232,212,68,107,7,27,150,95,138,46,105,211,120,2],[204,117,188,72,251,33,39,129,159,124,132,151,10,181,166,236,0,10,72,198,64,20,91,21,31,170,26,112,249,244,238,5],[33,194,14,26,190,19,129,15,226,204,157,116,148,28,124,113,138,247,170,248,61,58,146,130,145,204,73,66,93,148,19,9],[215,41,255,195,54,107,95,126,117,0,158,215,169,246,80,69,125,0,120,207,159,217,73,238,32,41,73,215,231,125,218,11],[191,49,180,128,209,222,42,251,49,208,185,59,110,149,214,191,125,33,64,11,32,45,70,139,48,87,27,16,128,245,170,15],[232,205,131,147,159,133,239,220,198,61,56,92,196,83,65,93,126,102,161,1,117,169,113,209,252,219,121,90,248,67,98,2],[245,235,138,18,16,59,89,152,17,231,18
2024-01-09 20:08:45 -05:00
```
< / details >
2024-01-11 15:09:15 -05:00
< details >
< summary > Trust Promotion Example Response Body:< / summary >
```
{"Pk":[22,33,88,46,73,224,65,161,174,187,98,120,176,171,198,86,242,216,137,67,233,249,200,21,218,54,175,206,49,165,108,49],"EncQk":[[84,5,113,180,248,27,203,48,78,26,116,131,35,192,231,30,231,173,182,225,196,205,130,89,34,17,181,93,211,227,178,61],[242,228,55,238,105,248,253,244,157,147,122,157,93,76,236,13,104,159,131,190,226,77,163,202,230,44,251,242,89,181,50,9]],"enc_migration_table":[[[233,126,11,143,53,255,86,231,39,143,214,231,99,187,217,141],[71,119,133,179,78,48,126,242,43,116,82,47,202,216,219,62,94,45,226,105,154,95,233,80,3,124,99,103,16,78,48,78,193,28,120,135,211,207,146,119,122,129,243,89,118,55,7,91,173,101,78,159,32,205,244,42,255,183,75,191,156,201,153,88,74,80,80,110,20,63,221,46,238,98,228,208,38,3,40,125,233,111,70,173,8,252,235,241,67,177,59,158,219,218,206,139,253,52,54,80,219,228,84,52,130,223,52,170,182,196,145,149,13,111,242,146,42,77,19,0,28,153,204,19]],[[201,73,0,203,74,72,209,212,124,23,52,91,185,230,174,109],[125,149,209,199,248,39,234,203,41,122,80,199,211,196,67,160,155,3,182,237,254,50,9,113,243,227,221,160,248,113,239,215,216,42,214,151,66,137,106,118,100,84,121,151,17,48,116,58,17,134,214,254,237,172,54,171,87,199,21,52,113,111,48,37,143,35,131,0,38,11,199,184,165,216,121,198,61,150,172,90,137,193,227,42,65,49,72,194,39,31,0,28,232,74,253,255,192,247,64,110,244,118,182,193,236,122,68,50,236,48,204,150,100,114,196,124,244,105,213,62,183,55,56,230]],[[129,132,219,71,145,166,106,169,224,93,77,95,97,8,151,243],[15,176,150,0,87,29,122,146,51,212,200,169,4,126,134,147,147,21,106,160,129,231,33,141,30,156,99,175,194,41,45,222,23,60,25,238,101,251,171,100,80,204,79,208,158,194,255,52,95,246,245,22,178,230,186,205,37,17,167,151,134,98,80,225,204,178,8,116,85,4,141,181,153,103,191,75,223,202,147,162,182,12,45,60,254,208,218,128,174,102,51,106,164,100,11,6,57,28,69,30,98,56,222,51,49,74,30,206,176,181,172,55,95,8,20,251,22,17,181,134,86,186,231,169]],[[251,39,14,163,4,163,99,79,43,53,54,223,35,252,219,162],[169,33,140,246,245,57,123,249,120,129,35,171,105,216,68,65,235,32,70,4,48,233,27,106,248,0,178,158,153,63,174,62,37,214,156,243,150,22,56,90,33,181,224,131,142,177,175,180,231,19,91,4,95,130,176,215,225,146,213,164,69,131,152,169,80,170,198,245,142,1,143,136,0,52,203,149,29,117,164,196,5,224,75,151,234,225,67,239,26,4,176,45,176,140,204,157,241,44,18,96,45,179,55,253,185,236,34,242,192,97,31,255,17,49,25,221,206,241,228,243,14,202,61,232]],[[237,198,66,11,130,193,109,40,255,213,2,176,252,24,11,148],[98,249,143,175,135,85,27,59,126,203,10,27,199,50,181,35,152,46,80,18,52,145,112,190,215,134,131,224,4,214,177,89,138,150,171,186,116,27,34,148,105,217,178,54,156,6,88,35,55,144,124,127,115,254,177,20,44,139,236,225,171,28,82,252,0,166,44,42,44,142,150,200,223,169,242,94,172,233,86,206,59,199,166,210,64,39,102,155,42,167,208,198,223,240,37,175,137,101,33,11,185,40,94,176,70,77,150,113,166,90,207,196,96,224,97,105,25,233,114,3,38,156,31,170]],[[59,166,161,200,10,233,169,180,248,116,52,8,20,190,226,109],[97,18,126,219,220,16,10,251,174,203,102,23,246,212,148,220,240,184,71,38,142,167,226,86,38,27,123,97,84,36,19,158,120,109,96,209,206,234,195,1,38,242,219,21,40,3,155,45,27,199,53,77,150,50,108,28,107,30,74,179,53,180,185,103,75,10,83,228,170,117,66,61,22,254,219,4,51,252,101,211,151,115,62,62,72,189,72,10,0,103,32,25,65,203,59,61,130,40,246,33,143,247,89,94,2,209,8,144,254,49,103,154,34,92,91,225,32,223,11,30,147,117,211,10]],[[0,67,133,215,168,15,191,154,14,158,178,159,146,146,13,50],[148,66,88,119,66,149,34,48,255,76,60,228,192,186,144,159,163,55,51,244,73,101,18,222,227,18,121,35,7,143,245,195,97,37,83,14,185,160,254,199,143,173,191,105,51,37,54,151,191,153,190,152,52,52,110,155,46,172,137,227,98,1,7,224,203,11,63,98,234,168,212,163,138,203,238,227,12,157,249,36,51,24,142,141,246,117,119,18,219,162,157,164,174,21,139,90,25,79,164,194,202,159,87,11,114,184,194,126,60,151,111,176,76,29,12,144,108,94,233,199,63,204,65,191]],[[70,135,244,158,207,113,1,153,92,114,148,117,150,103,123,129],[82,210,211,40,75,161,241,202,23,153,33,20,53,206,165,183,204,230,216,75,185,62,26,34,15,155,57,97,117,137,192,67,22
```
< / details >
2024-01-09 20:08:45 -05:00
##### Trust Migration
2024-01-11 15:09:15 -05:00
- `Endpoint: /trustmig`
- `Body:` Trust Migration Zero-knowledge proof
2024-01-09 20:08:45 -05:00
< details >
2024-01-11 15:09:15 -05:00
< summary > Trust Migration Example Request:< / summary >
2024-01-09 20:08:45 -05:00
```
POST /trustmig HTTP/1.1
Host: localhost:8100
Content-Type: application/json
2024-01-11 15:09:15 -05:00
{"P_lox":[122,81,85,170,38,17,58,16,175,61,130,140,219,100,162,138,96,53,30,96,160,73,212,110,189,89,60,26,102,97,127,114],"id":[223,181,3,60,121,224,196,117,222,133,75,78,85,245,141,92,140,19,42,47,37,110,51,62,174,43,168,164,57,187,56,4],"CBucket":[86,20,217,133,215,65,147,186,223,109,99,209,166,45,165,80,128,75,53,36,227,159,217,112,207,86,137,143,88,206,172,106],"trust_level":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"CSince":[8,238,27,49,221,0,92,119,224,243,52,82,50,118,78,203,150,204,84,84,191,254,248,120,131,255,226,30,3,249,137,115],"CQ_lox":[218,126,56,223,224,58,158,130,130,102,36,111,217,36,221,116,187,223,159,50,235,73,74,15,78,135,234,111,130,186,253,2],"P_mig":[106,166,28,66,28,82,107,254,229,213,146,251,10,234,72,238,144,192,114,102,19,6,49,138,65,251,76,115,179,42,64,2],"CFromBucket":[242,119,253,35,86,93,13,135,192,242,188,86,0,7,65,106,127,16,131,129,216,10,63,11,114,79,127,249,189,251,162,77],"CToBucket":[190,8,158,195,222,15,251,229,15,163,60,246,84,55,123,64,186,74,199,141,213,105,1,187,5,182,155,20,195,116,140,126],"CQ_mig":[62,102,80,249,142,215,192,108,248,101,183,192,137,71,6,128,12,80,28,203,19,196,246,230,183,136,14,117,150,136,196,119],"D":[64,132,99,94,176,22,56,93,222,194,69,163,89,69,91,11,247,67,6,79,75,214,14,7,251,236,97,42,47,177,86,25],"EncIdClient":[[198,183,17,231,192,69,84,252,145,44,166,73,70,22,228,171,148,80,80,162,93,196,152,84,87,29,114,104,64,184,166,57],[68,202,252,49,87,223,126,165,60,171,240,117,212,192,182,26,86,248,66,164,172,234,160,166,199,30,246,58,8,178,210,109]],"EncBucket":[[76,5,194,175,53,91,92,203,164,193,53,157,187,224,57,126,6,92,111,115,126,41,115,41,97,126,103,231,144,201,27,73],[130,54,187,192,72,200,19,129,27,23,251,211,113,249,106,103,216,149,202,245,51,157,80,66,163,2,76,64,177,139,161,89]],"piUser":{"challenge":[152,94,76,128,37,104,221,249,36,103,35,2,150,84,194,92,120,71,247,110,2,84,192,27,113,72,8,7,82,11,100,3],"responses":[[150,199,204,40,50,171,50,114,44,226,182,147,129,168,11,37,204,252,51,96,108,128,140,154,49,191,146,31,167,181,208,10],[222,167,94,107,75,53,228,83,207,142,48,80,33,237,248,139,247,94,220,85,238,63,19,103,98,175,106,66,115,92,239,10],[9,169,225,242,156,125,226,6,103,195,176,213,96,12,53,209,191,184,161,48,182,27,98,132,253,180,61,55,178,50,42,6],[119,241,116,94,11,159,45,92,213,76,235,88,164,77,45,174,247,97,226,189,149,14,175,177,174,66,70,58,47,1,172,11],[246,44,88,163,227,164,192,159,93,183,32,229,123,251,59,100,188,62,189,213,204,53,249,66,78,213,60,163,191,72,189,1],[26,159,36,56,0,26,152,196,126,12,133,239,19,161,236,8,76,145,169,28,68,175,123,4,219,79,203,19,1,45,133,15],[67,103,50,201,245,185,163,136,100,58,242,112,3,227,87,47,182,75,174,183,203,101,51,170,246,229,16,79,157,154,10,7],[163,52,227,60,197,112,158,145,97,194,111,203,248,95,240,167,196,51,199,61,121,40,178,77,224,62,143,146,205,252,243,0],[180,10,33,35,221,77,38,204,119,14,188,234,157,0,185,47,216,193,14,64,167,177,70,26,8,49,86,108,51,172,20,5],[199,101,205,195,227,103,201,141,179,82,124,162,0,0,234,74,107,181,38,206,115,65,108,37,224,205,204,140,122,46,92,2],[42,103,66,15,227,91,88,26,160,141,4,239,173,121,253,236,164,38,192,89,152,221,156,214,133,34,80,144,149,157,134,7],[147,2,24,201,184,188,42,33,189,194,47,113,86,38,32,106,89,142,161,245,51,27,250,187,234,196,77,78,213,20,218,11],[253,116,108,203,82,1,103,217,33,54,203,82,156,202,254,177,58,4,73,207,137,79,144,226,45,74,150,38,225,83,8,12]]}}
```
< / details >
< details >
< summary > Trust Migration Example Response Body:< / summary >
```
{"Pk":[22,33,88,46,73,224,65,161,174,187,98,120,176,171,198,86,242,216,137,67,233,249,200,21,218,54,175,206,49,165,108,49],"EncQk":[[84,5,113,180,248,27,203,48,78,26,116,131,35,192,231,30,231,173,182,225,196,205,130,89,34,17,181,93,211,227,178,61],[242,228,55,238,105,248,253,244,157,147,122,157,93,76,236,13,104,159,131,190,226,77,163,202,230,44,251,242,89,181,50,9]],"enc_migration_table":[[[233,126,11,143,53,255,86,231,39,143,214,231,99,187,217,141],[71,119,133,179,78,48,126,242,43,116,82,47,202,216,219,62,94,45,226,105,154,95,233,80,3,124,99,103,16,78,48,78,193,28,120,135,211,207,146,119,122,129,243,89,118,55,7,91,173,101,78,159,32,205,244,42,255,183,75,191,156,201,153,88,74,80,80,110,20,63,221,46,238,98,228,208,38,3,40,125,233,111,70,173,8,252,235,241,67,177,59,158,219,218,206,139,253,52,54,80,219,228,84,52,130,223,52,170,182,196,145,149,13,111,242,146,42,77,19,0,28,153,204,19]],[[201,73,0,203,74,72,209,212,124,23,52,91,185,230,174,109],[125,149,209,199,248,39,234,203,41,122,80,199,211,196,67,160,155,3,182,237,254,50,9,113,243,227,221,160,248,113,239,215,216,42,214,151,66,137,106,118,100,84,121,151,17,48,116,58,17,134,214,254,237,172,54,171,87,199,21,52,113,111,48,37,143,35,131,0,38,11,199,184,165,216,121,198,61,150,172,90,137,193,227,42,65,49,72,194,39,31,0,28,232,74,253,255,192,247,64,110,244,118,182,193,236,122,68,50,236,48,204,150,100,114,196,124,244,105,213,62,183,55,56,230]],[[129,132,219,71,145,166,106,169,224,93,77,95,97,8,151,243],[15,176,150,0,87,29,122,146,51,212,200,169,4,126,134,147,147,21,106,160,129,231,33,141,30,156,99,175,194,41,45,222,23,60,25,238,101,251,171,100,80,204,79,208,158,194,255,52,95,246,245,22,178,230,186,205,37,17,167,151,134,98,80,225,204,178,8,116,85,4,141,181,153,103,191,75,223,202,147,162,182,12,45,60,254,208,218,128,174,102,51,106,164,100,11,6,57,28,69,30,98,56,222,51,49,74,30,206,176,181,172,55,95,8,20,251,22,17,181,134,86,186,231,169]],[[251,39,14,163,4,163,99,79,43,53,54,223,35,252,219,162],[169,33,140,246,245,57,123,249,120,129,35,171,105,216,68,65,235,32,70,4,48,233,27,106,248,0,178,158,153,63,174,62,37,214,156,243,150,22,56,90,33,181,224,131,142,177,175,180,231,19,91,4,95,130,176,215,225,146,213,164,69,131,152,169,80,170,198,245,142,1,143,136,0,52,203,149,29,117,164,196,5,224,75,151,234,225,67,239,26,4,176,45,176,140,204,157,241,44,18,96,45,179,55,253,185,236,34,242,192,97,31,255,17,49,25,221,206,241,228,243,14,202,61,232]],[[237,198,66,11,130,193,109,40,255,213,2,176,252,24,11,148],[98,249,143,175,135,85,27,59,126,203,10,27,199,50,181,35,152,46,80,18,52,145,112,190,215,134,131,224,4,214,177,89,138,150,171,186,116,27,34,148,105,217,178,54,156,6,88,35,55,144,124,127,115,254,177,20,44,139,236,225,171,28,82,252,0,166,44,42,44,142,150,200,223,169,242,94,172,233,86,206,59,199,166,210,64,39,102,155,42,167,208,198,223,240,37,175,137,101,33,11,185,40,94,176,70,77,150,113,166,90,207,196,96,224,97,105,25,233,114,3,38,156,31,170]],[[59,166,161,200,10,233,169,180,248,116,52,8,20,190,226,109],[97,18,126,219,220,16,10,251,174,203,102,23,246,212,148,220,240,184,71,38,142,167,226,86,38,27,123,97,84,36,19,158,120,109,96,209,206,234,195,1,38,242,219,21,40,3,155,45,27,199,53,77,150,50,108,28,107,30,74,179,53,180,185,103,75,10,83,228,170,117,66,61,22,254,219,4,51,252,101,211,151,115,62,62,72,189,72,10,0,103,32,25,65,203,59,61,130,40,246,33,143,247,89,94,2,209,8,144,254,49,103,154,34,92,91,225,32,223,11,30,147,117,211,10]],[[0,67,133,215,168,15,191,154,14,158,178,159,146,146,13,50],[148,66,88,119,66,149,34,48,255,76,60,228,192,186,144,159,163,55,51,244,73,101,18,222,227,18,121,35,7,143,245,195,97,37,83,14,185,160,254,199,143,173,191,105,51,37,54,151,191,153,190,152,52,52,110,155,46,172,137,227,98,1,7,224,203,11,63,98,234,168,212,163,138,203,238,227,12,157,249,36,51,24,142,141,246,117,119,18,219,162,157,164,174,21,139,90,25,79,164,194,202,159,87,11,114,184,194,126,60,151,111,176,76,29,12,144,108,94,233,199,63,204,65,191]],[[70,135,244,158,207,113,1,153,92,114,148,117,150,103,123,129],[82,210,211,40,75,161,241,202,23,153,33,20,53,206,165,183,204,230,216,75,185,62,26,34,15,155,57,97,117,137,192,67,22
2024-01-09 20:08:45 -05:00
```
< / details >
##### Level Up
2024-01-11 15:09:15 -05:00
- `Endpoint: /levelup`
- `Body:` Levelup Zero-knowledge proof
2024-01-09 20:08:45 -05:00
< details >
2024-01-11 15:09:15 -05:00
< summary > Level Up Example Request:< / summary >
2024-01-09 20:08:45 -05:00
```
POST /levelup HTTP/1.1
Host: localhost:8100
Content-Type: application/json
2024-01-11 15:09:15 -05:00
{"P":[50,164,224,116,246,235,186,225,31,28,56,142,151,162,100,53,40,246,130,145,200,168,159,21,58,160,233,0,36,185,151,0],"id":[129,205,214,47,217,78,207,96,129,181,216,156,12,81,217,223,165,54,91,149,60,223,78,208,46,35,168,155,168,33,140,11],"CBucket":[184,111,29,93,61,169,166,218,168,163,164,192,157,77,64,39,208,186,56,180,187,230,50,13,45,118,230,69,103,33,39,47],"level":[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"CSince":[204,140,127,222,94,240,103,217,149,192,203,5,15,79,6,190,50,42,122,6,13,43,171,79,187,41,253,187,184,233,60,115],"CInvRemain":[100,138,60,118,191,125,251,3,53,110,69,56,50,116,97,152,220,67,80,190,237,254,112,84,58,191,99,127,66,167,113,64],"CBlockages":[84,248,249,216,139,54,5,81,66,3,66,193,183,216,227,171,31,204,59,107,144,40,25,53,140,190,59,217,61,126,251,113],"CQ":[216,67,234,174,148,236,23,160,138,206,147,181,236,69,176,25,142,18,117,119,147,64,101,29,239,174,206,204,81,76,200,125],"P_reach":[126,135,207,210,16,76,132,88,255,238,95,194,201,60,86,3,73,163,70,13,70,177,255,109,116,217,27,232,76,62,98,34],"CBucket_reach":[110,220,98,149,251,79,152,75,70,230,172,255,154,214,29,205,84,131,203,238,231,114,43,61,25,200,135,41,224,68,204,107],"CQ_reach":[92,197,156,64,136,41,222,84,66,134,195,230,25,197,220,183,84,81,190,34,47,238,217,189,239,223,151,1,167,239,222,9],"CG1":[56,160,107,132,143,190,86,180,255,10,218,137,141,189,61,148,18,147,104,122,17,139,115,147,197,151,186,155,237,120,98,89],"CG2":[34,157,53,248,222,103,138,91,142,149,181,119,188,238,183,54,157,184,17,118,57,4,220,37,62,248,102,35,213,14,195,27],"CG3":[220,123,139,74,79,190,133,178,202,245,198,35,25,112,212,46,57,61,218,249,223,178,23,112,227,193,49,91,176,70,99,48],"CG4":[244,99,115,63,164,149,161,207,241,211,75,61,250,63,145,57,182,254,133,62,18,151,226,219,87,113,7,192,63,210,44,59],"CG5":[112,131,69,108,160,141,62,19,174,5,215,27,160,84,219,45,116,247,130,55,2,43,187,147,30,209,34,182,183,79,104,69],"CG6":[234,20,102,106,8,156,84,186,167,97,161,235,186,109,108,135,156,122,237,238,224,248,250,143,184,231,71,226,252,3,174,118],"CG7":[10,114,197,8,244,22,154,170,116,72,228,227,30,7,44,137,139,234,136,180,226,217,221,155,70,29,53,230,235,145,130,63],"CG8":[202,74,1,149,33,54,101,220,146,162,139,89,110,55,222,32,168,147,9,245,184,134,33,208,178,184,135,218,8,62,213,28],"CG0sq":[116,146,30,80,170,230,194,43,26,92,19,115,34,147,65,78,148,207,101,82,62,22,175,230,113,190,165,116,165,174,193,10],"CG1sq":[30,20,127,182,99,61,59,173,2,113,215,178,39,159,95,237,186,163,19,186,112,43,24,150,155,6,45,92,234,131,149,77],"CG2sq":[86,163,219,216,235,31,99,125,97,62,219,211,129,180,249,93,163,160,239,55,191,8,135,34,59,241,58,215,190,157,130,53],"CG3sq":[152,129,91,214,1,152,148,154,71,156,87,20,188,75,232,221,93,187,213,59,88,248,197,4,133,214,197,64,122,108,154,30],"CG4sq":[242,194,104,92,23,223,67,131,91,208,6,251,96,190,68,253,132,44,120,182,91,148,233,241,168,46,30,165,253,142,64,84],"CG5sq":[70,155,7,15,62,225,219,55,202,110,190,192,19,116,128,148,201,145,107,156,143,186,163,21,233,24,193,206,193,55,136,33],"CG6sq":[176,163,15,203,221,136,224,0,252,87,88,91,112,228,34,92,135,62,185,26,154,194,245,58,149,103,85,124,27,80,124,23],"CG7sq":[78,192,129,93,21,34,246,75,228,129,7,44,4,221,102,59,47,212,111,97,76,132,90,34,169,128,43,249,31,107,203,19],"CG8sq":[108,33,116,108,216,13,127,206,149,217,145,225,247,223,220,38,250,39,17,253,19,5,136,88,123,123,67,135,162,220,124,98],"CH1":[76,255,194,189,75,199,141,104,238,201,6,246,128,249,42,117,57,210,174,6,51,250,65,125,27,75,221,241,188,200,34,104],"CH2":[142,33,13,87,72,165,85,156,20,227,96,4,56,220,19,104,152,48,151,76,166,242,6,96,40,159,46,94,214,123,172,106],"CH0sq":[220,236,219,54,215,79,117,65,64,46,140,18,45,72,72,102,16,197,120,10,144,75,42,65,6,231,74,93,190,195,148,62],"CH1sq":[132,198,167,89,247,220,161,134,209,203,57,120,152,235,151,99,77,175,184,231,3,105,43,189,170,187,25,182,29,90,80,81],"CH2sq":[30,93,10,102,54,128,91,79,88,154,228,252,36,225,201,157,4,1,119,96,167,147,185,241,205,136,242,25,229,136,134,50],"D":[178,106,147,184,252,97,216,213,151,236,254,38,
```
< / details >
< details >
< summary > Level Up Example Response Body:< / summary >
```
{"P":[40,46,198,82,48,65,223,111,28,125,83,113,87,30,243,15,58,40,68,50,171,99,231,209,42,191,92,6,147,38,196,12],"EncQ":[[96,49,79,153,213,62,139,189,107,94,43,152,75,21,120,81,155,74,41,153,7,110,146,244,245,249,9,65,150,167,121,114],[120,235,246,246,249,118,193,26,176,163,181,106,51,70,59,96,196,111,186,121,60,129,48,117,144,4,93,176,218,17,50,19]],"id_server":[224,82,233,131,82,167,93,125,27,81,126,77,242,185,244,161,217,171,146,170,66,10,220,226,42,127,105,235,88,66,126,8],"level_since":[21,139,37,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"TId":[178,177,250,186,154,30,216,36,38,88,183,49,173,23,91,237,26,97,156,209,176,214,226,69,93,208,159,191,179,2,63,82],"TBucket":[114,129,29,131,22,129,152,108,247,144,7,7,54,7,79,237,136,122,81,132,18,162,63,201,127,178,196,15,90,113,129,54],"TBlockages":[140,252,77,170,248,214,214,151,52,31,123,32,190,191,153,163,151,94,49,227,6,147,95,140,221,120,94,25,53,104,67,72],"piBlindIssue":{"challenge":[79,16,138,124,19,199,8,224,219,223,76,186,66,175,49,191,120,70,98,11,62,63,2,176,34,0,203,164,127,17,135,0],"responses":[[68,93,169,245,137,6,101,99,163,59,87,130,180,150,188,52,217,214,13,243,246,219,47,33,142,1,149,188,121,21,93,7],[67,144,141,206,12,164,156,195,15,61,2,240,32,241,190,192,179,164,166,184,123,181,252,121,158,249,175,164,186,153,235,0],[20,158,231,43,248,74,38,175,176,166,130,243,158,55,58,87,193,92,17,115,205,213,218,81,213,37,56,40,212,185,43,8],[60,195,243,75,217,54,40,157,137,255,105,156,51,27,132,117,74,53,174,158,83,225,207,253,51,153,218,29,242,96,187,9],[99,182,169,185,230,47,244,13,18,62,185,59,220,15,201,133,219,103,162,42,0,79,131,47,89,219,63,186,91,182,124,9],[118,246,177,186,8,121,49,74,36,210,216,111,34,132,174,243,128,119,53,29,50,150,169,158,43,145,254,26,16,89,169,8],[88,37,172,229,164,149,69,24,228,136,72,182,48,68,94,137,123,224,203,251,160,159,76,63,193,4,194,153,243,11,82,6],[203,181,66,200,192,8,202,15,120,72,114,132,251,102,38,124,109,37,239,172,16,92,214,232,166,104,57,129,98,141,162,5],[92,107,53,148,228,130,137,144,2,232,187,223,222,92,186,33,200,20,209,152,251,117,215,36,141,244,20,42,12,93,136,15],[182,200,124,33,92,34,92,230,231,153,90,162,24,143,26,78,153,184,246,122,110,28,248,208,99,192,96,99,174,119,223,12],[108,47,164,4,213,98,96,241,108,181,14,189,247,253,244,188,251,203,176,48,48,22,108,57,169,220,194,255,164,141,170,14],[167,63,180,21,65,157,227,168,16,95,126,110,91,31,87,147,203,162,129,101,183,62,0,138,94,73,204,13,185,13,20,1],[23,220,131,46,7,146,196,123,121,90,65,145,226,248,71,172,23,163,119,187,214,71,83,165,226,195,204,191,133,139,137,5]]}}
2024-01-09 20:08:45 -05:00
```
< / details >
##### Issue Invitation
2024-01-11 15:09:15 -05:00
- `Endpoint: /issueinvite`
- `Body:` eIssue Invite Zero-knowledge proof
2024-01-09 20:08:45 -05:00
< details >
2024-01-11 15:09:15 -05:00
< summary > Issue Invite Example Request:< / summary >
2024-01-09 20:08:45 -05:00
```
POST /issueinvite HTTP/1.1
Host: localhost:8100
Content-Type: application/json
2024-01-11 15:09:15 -05:00
{"P":[186,244,214,215,255,104,124,155,125,148,0,64,174,238,31,235,199,135,60,17,184,141,45,182,63,237,133,80,73,84,166,65],"id":[147,191,174,243,23,87,123,214,42,54,155,45,184,46,124,163,110,101,178,123,53,172,132,72,40,32,138,41,168,151,169,14],"CBucket":[222,200,24,51,68,102,44,100,13,57,121,1,104,33,186,92,25,155,240,142,183,147,53,235,34,152,68,234,10,27,213,120],"CLevel":[90,172,45,25,52,128,116,180,176,73,128,210,217,18,162,178,82,59,224,52,243,133,226,221,69,2,180,107,58,237,131,2],"CSince":[130,183,81,13,72,242,111,254,230,3,79,29,129,175,127,67,144,233,200,165,114,71,114,129,190,43,62,96,187,139,214,69],"CInvRemain":[98,238,113,32,242,236,63,1,213,91,48,240,247,227,217,54,38,28,135,50,128,229,182,89,41,31,205,7,7,42,191,119],"CBlockages":[22,86,235,128,228,137,12,127,72,179,65,43,165,198,226,251,8,70,236,147,248,14,163,226,172,180,7,86,107,221,53,93],"CQ":[122,6,75,40,39,235,18,15,190,153,157,27,189,134,112,196,2,177,25,233,205,165,60,208,106,253,151,84,44,146,145,11],"P_reach":[82,254,160,180,64,207,244,107,183,242,164,40,29,10,168,34,174,93,50,221,28,159,176,84,98,251,230,168,181,223,136,117],"CBucket_reach":[174,141,129,181,119,126,144,138,67,168,102,70,61,153,69,145,169,80,167,162,187,19,245,27,138,196,237,57,100,131,185,19],"CQ_reach":[174,134,253,238,69,37,19,77,185,7,186,67,120,19,183,129,88,119,60,2,96,195,146,107,41,60,221,23,44,87,238,74],"D":[176,234,106,174,189,18,83,72,190,95,30,142,40,192,94,204,33,249,84,253,207,90,221,174,156,83,37,191,59,211,93,126],"EncIdClient":[[16,36,146,224,61,83,0,66,24,198,176,44,185,245,168,127,22,50,54,47,207,232,5,39,242,106,226,233,195,181,203,27],[38,223,22,182,180,22,120,203,183,59,105,243,7,95,146,84,18,15,46,6,128,244,181,238,53,2,106,164,113,70,32,16]],"EncBucket":[[204,232,110,178,39,70,35,236,83,68,217,106,207,152,28,61,110,58,161,225,74,168,37,88,184,158,51,55,81,35,239,50],[48,122,92,16,170,4,70,239,191,52,214,108,107,197,218,126,38,203,61,141,38,88,60,189,174,181,160,55,159,204,97,103]],"EncLevel":[[210,226,20,227,111,7,249,93,38,2,195,166,154,235,76,102,36,212,134,52,73,145,227,231,222,83,231,85,203,162,109,126],[134,23,138,132,77,3,108,136,238,48,189,108,246,128,204,177,9,131,8,36,58,23,171,105,248,1,16,98,194,202,93,40]],"EncSince":[[146,153,9,172,78,145,158,195,76,41,212,228,35,117,119,248,65,65,12,87,142,94,143,207,106,221,100,114,54,161,173,93],[206,159,74,63,86,127,14,92,120,102,223,150,27,127,199,239,21,165,141,204,133,143,189,9,231,128,164,222,222,98,12,98]],"EncInvRemain":[[94,193,147,244,200,55,75,101,236,217,230,52,138,210,24,128,42,180,39,76,237,9,121,104,193,142,236,182,40,50,202,64],[184,0,18,48,158,53,41,57,175,197,228,126,103,48,106,5,96,91,33,36,120,207,238,232,12,42,226,15,178,242,29,71]],"EncBlockages":[[48,3,203,10,196,118,18,216,215,180,114,21,231,168,93,95,196,13,246,189,172,242,135,14,140,158,169,1,69,158,157,48],[150,249,139,39,180,222,129,221,45,48,27,172,98,226,116,249,188,24,172,37,46,231,36,102,175,192,185,229,101,241,11,123]],"EncInvIdClient":[[112,151,209,67,98,158,40,113,53,69,86,230,241,238,109,238,0,110,127,178,229,189,233,150,254,226,186,141,246,92,171,47],[124,199,205,148,79,70,152,155,113,71,71,122,56,91,157,165,50,32,110,255,235,133,130,22,203,239,152,177,69,196,53,1]],"piUser":{"challenge":[218,204,92,207,61,179,188,130,201,153,67,134,243,41,22,122,224,175,207,61,228,4,152,111,254,71,232,9,231,75,250,14],"responses":[[137,121,140,142,8,0,141,57,45,66,159,149,143,76,208,159,140,27,125,105,28,185,210,62,175,90,3,120,189,249,168,14],[68,108,231,247,228,86,72,236,16,126,177,128,40,26,175,86,107,39,142,227,59,34,157,226,12,35,103,86,142,120,132,6],[132,161,252,15,252,219,213,252,59,220,156,33,170,64,6,78,199,174,180,19,75,152,2,5,115,189,252,182,56,114,242,11],[113,195,240,231,18,173,22,134,197,49,253,159,110,228,145,213,122,43,1,0,19,232,212,91,251,18,45,171,168,225,65,11],[195,90,177,86,154,195,143,178,213,11,8,135,232,210,109,22,133,184,161,62,183,142,115,222,157,52,102,228,51,128,127,9],[28,25,36,195,123,143,105,236,94,198,122,224,238,81,107,221,111,187,101,128,67,118,179,202,172,56,200,150,200,137,111,1],[76,205,88,122
```
< / details >
< details >
< summary > Issue Invite Example Response Body:< / summary >
```
{"P":[158,48,58,109,112,63,163,221,246,86,68,40,203,198,172,229,48,165,212,24,217,35,210,117,177,250,116,10,56,158,71,16],"EncQ":[[96,107,43,110,46,79,159,147,41,233,206,131,83,157,170,77,108,3,81,90,124,208,184,13,154,37,102,36,191,187,160,28],[68,150,155,39,182,251,137,160,121,77,55,117,42,177,36,104,249,10,119,198,152,111,229,148,25,167,18,190,15,20,37,5]],"id_server":[125,194,43,165,29,199,185,99,201,13,13,44,100,229,247,159,140,238,82,244,142,153,238,214,17,34,172,164,33,149,63,13],"TId":[10,98,204,193,129,140,44,145,144,253,106,3,69,234,46,228,230,165,130,8,8,184,184,41,237,185,254,53,36,194,20,13],"TBucket":[0,6,173,135,62,6,226,96,13,145,175,107,77,158,114,53,197,119,143,204,3,189,134,82,18,198,71,200,241,172,87,46],"TLevel":[108,123,189,84,111,59,6,254,20,171,14,161,171,129,6,46,80,201,207,45,220,64,132,171,82,76,65,3,158,151,236,98],"TSince":[252,63,183,220,60,74,142,108,36,162,157,94,107,106,179,40,123,205,131,45,158,51,253,87,192,208,184,241,141,215,217,122],"TInvRemain":[178,46,58,212,109,250,84,99,25,25,134,107,231,233,29,70,159,103,249,215,232,208,25,97,157,99,143,122,22,22,54,18],"TBlockages":[164,100,104,140,236,8,244,129,72,106,27,201,90,54,35,181,16,139,113,129,63,167,206,238,207,74,208,62,70,185,230,66],"P_inv":[70,31,6,88,139,27,8,45,85,119,121,84,244,244,118,211,56,23,178,72,107,227,100,214,53,248,126,183,133,73,179,124],"EncQ_inv":[[124,98,249,59,38,25,186,137,59,11,228,47,34,178,40,95,8,255,163,3,113,130,27,236,136,162,197,75,187,163,188,126],[196,45,243,51,167,229,54,250,57,139,219,110,161,246,149,204,245,58,223,228,126,233,126,149,54,53,177,29,214,42,157,6]],"inv_id_server":[224,120,57,159,123,93,255,61,80,61,197,96,32,143,116,219,222,114,34,54,182,9,170,163,182,34,116,106,79,130,25,14],"TId_inv":[190,141,39,173,9,22,223,200,179,243,46,167,148,25,169,104,193,248,59,132,175,144,223,142,70,176,103,42,110,1,28,45],"date_inv":[20,140,37,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"TBucket_inv":[236,237,167,211,244,111,158,155,15,232,221,14,113,252,182,54,148,20,238,253,69,44,151,189,88,11,92,227,132,254,1,126],"TBlockages_inv":[214,137,196,168,229,91,25,158,219,63,40,141,165,133,195,98,134,58,35,51,185,164,94,83,67,81,56,206,76,122,102,68],"piBlindIssue":{"challenge":[105,82,110,192,79,192,90,71,120,73,167,227,177,218,183,98,214,45,114,163,168,252,54,203,116,85,137,90,7,125,84,2],"responses":[[138,203,73,159,3,197,199,19,226,100,61,44,226,125,196,166,53,53,228,68,104,86,250,206,102,209,58,90,8,133,207,15],[136,144,233,58,122,221,65,151,157,101,34,173,225,92,99,112,35,31,214,13,165,94,202,198,215,185,145,61,160,73,217,12],[10,164,71,38,11,107,213,164,193,11,14,15,236,37,160,71,74,6,9,182,170,152,163,75,182,40,190,235,149,219,60,9],[182,161,112,164,181,86,244,52,128,253,122,89,151,107,131,33,95,18,223,87,184,234,56,8,157,154,67,50,89,86,132,9],[38,33,38,128,39,52,189,233,124,69,69,106,131,82,118,176,207,64,236,242,58,8,183,68,250,14,222,241,221,205,187,11],[118,212,243,248,150,215,23,186,197,114,162,134,116,179,199,144,203,168,250,71,43,3,129,78,208,13,92,154,213,25,111,12],[222,199,70,199,212,14,132,117,20,226,170,202,213,40,1,135,142,97,137,107,203,159,48,151,233,139,53,223,70,131,127,5],[140,64,87,0,48,164,59,82,186,68,146,141,175,109,103,164,218,10,175,165,153,205,182,155,37,87,193,24,241,33,86,9],[251,229,121,23,184,232,152,37,140,167,231,92,177,251,149,90,119,218,238,240,151,99,109,193,57,37,215,162,149,76,142,15],[145,110,85,173,109,141,87,152,2,131,61,153,1,47,241,153,232,125,227,18,243,202,226,244,71,61,222,38,245,44,148,1],[138,211,14,36,20,56,145,20,66,197,23,160,251,54,137,125,22,209,243,161,213,13,231,103,237,113,216,135,171,118,209,7],[187,218,141,253,105,37,85,8,125,190,161,12,136,17,55,75,236,154,32,135,223,110,59,22,253,54,252,153,67,220,204,11],[227,150,211,35,168,237,55,47,166,75,166,229,24,31,185,170,188,17,77,84,172,164,34,212,34,253,19,72,224,196,36,9],[211,36,230,214,187,116,98,3,193,86,241,142,87,148,93,250,59,150,206,205,84,3,226,141,252,138,159,230,46,100,188,0],[239,27,172,219,186,5,0,49,145,18,30,201,176,18,223,226,93,133,154,92,111,161,113,122,81,186,49,9,2
2024-01-09 20:08:45 -05:00
```
< / details >
##### Redeem Invitation
2024-01-11 15:09:15 -05:00
- `Endpoint: /redeeminvite`
- `Body:` Redeem Invite Zero-knowledge proof
2024-01-09 20:08:45 -05:00
< details >
2024-01-11 15:09:15 -05:00
< summary > Redeem Invite Example Request:< / summary >
2024-01-09 20:08:45 -05:00
```
POST /redeem HTTP/1.1
Host: localhost:8100
Content-Type: application/json
2024-01-11 15:09:15 -05:00
{"P":[212,121,159,51,18,104,120,254,119,155,166,215,18,71,115,31,66,174,184,61,76,148,151,170,110,164,229,27,133,210,162,121],"inv_id":[77,52,114,243,80,127,214,144,166,108,212,242,227,37,234,0,34,224,33,221,3,30,118,192,168,2,111,231,35,56,195,1],"CDate":[24,235,42,67,64,149,149,19,0,216,122,7,42,51,184,122,146,245,160,63,124,18,96,52,175,177,86,118,128,109,252,112],"CBucket":[150,86,84,34,74,185,62,123,1,198,190,124,177,255,94,201,210,248,160,157,150,25,128,108,36,175,158,113,9,114,219,42],"CBlockages":[132,72,136,99,121,171,111,220,105,16,129,144,39,221,152,191,169,123,35,85,101,100,243,91,85,5,52,20,175,201,140,15],"CQ":[172,81,114,189,199,191,93,85,158,140,157,66,56,143,185,6,64,241,247,225,37,175,152,206,216,48,19,179,233,45,201,80],"CG1":[122,151,214,132,9,128,1,110,115,121,49,241,221,201,70,149,17,113,210,161,3,27,10,243,26,107,100,123,232,33,22,54],"CG2":[136,175,105,35,209,150,217,112,36,32,104,96,247,143,4,48,25,96,109,126,140,46,207,85,86,253,195,109,27,81,254,92],"CG3":[208,251,40,231,130,235,15,235,228,240,228,128,71,218,46,46,113,240,69,118,167,56,129,142,211,194,24,209,23,147,73,52],"CG0sq":[176,232,182,164,113,233,98,95,165,20,149,184,10,96,215,177,75,247,208,18,127,21,123,197,253,114,253,60,253,23,150,50],"CG1sq":[194,95,0,133,227,186,106,225,222,40,85,162,167,100,52,154,180,5,148,45,170,31,168,156,137,216,132,193,31,9,115,56],"CG2sq":[16,63,63,144,165,65,105,190,105,185,153,71,56,191,181,244,143,240,13,140,213,182,38,143,162,58,93,147,183,255,165,83],"CG3sq":[30,184,233,252,67,146,155,23,44,76,136,191,28,134,73,66,246,253,65,54,255,6,194,27,34,29,176,58,28,227,113,33],"D":[2,143,175,240,206,167,121,61,10,34,245,21,31,25,141,249,169,68,138,35,80,210,112,250,109,217,43,162,85,1,188,39],"EncIdClient":[[60,94,6,212,254,14,233,13,41,80,94,189,52,249,57,247,119,232,173,5,73,171,201,112,83,29,249,110,189,140,49,52],[86,106,87,118,253,64,192,74,240,28,5,129,217,91,137,174,181,91,186,50,12,26,54,118,52,207,2,26,14,244,226,41]],"EncBucket":[[122,101,12,160,214,136,11,204,89,132,137,159,216,133,145,67,82,216,139,152,239,8,72,35,170,161,8,139,196,152,38,59],[186,254,222,16,75,33,160,199,76,139,186,147,52,51,13,23,158,89,106,17,171,28,51,58,215,248,154,157,199,143,52,46]],"EncBlockages":[[102,127,41,11,37,6,78,73,73,220,177,167,216,111,99,183,220,4,40,244,139,206,24,185,5,179,45,43,215,106,221,17],[162,94,84,54,242,131,169,217,45,65,48,243,167,30,67,45,79,68,66,48,194,48,140,191,137,179,36,21,62,119,67,52]],"piUser":{"challenge":[85,215,249,98,76,2,57,127,88,245,157,139,13,111,189,127,54,250,240,174,194,69,3,160,122,139,216,175,203,163,252,11],"responses":[[189,42,217,22,114,131,47,32,241,29,227,103,109,138,127,144,233,90,205,248,113,136,85,171,189,216,45,109,89,58,226,1],[116,118,26,21,172,163,40,192,239,50,146,130,152,52,121,204,85,134,33,167,128,53,227,77,181,133,80,142,189,167,253,14],[194,184,119,231,197,243,70,37,7,114,1,241,17,236,250,110,184,128,161,205,54,95,242,108,195,64,207,204,49,50,170,12],[118,254,238,112,139,255,200,85,86,65,132,99,12,30,67,144,44,95,108,118,254,140,238,156,216,248,41,50,194,163,4,15],[107,81,3,45,202,6,95,162,205,9,145,126,192,69,95,231,42,251,130,90,246,106,191,114,141,163,245,33,41,57,135,3],[18,175,6,48,192,92,36,102,243,83,251,116,128,107,30,151,42,240,240,82,134,139,164,199,80,45,69,230,249,208,46,4],[153,122,233,224,192,193,229,10,24,254,205,41,238,102,104,37,55,239,190,155,18,207,220,244,239,216,145,114,47,125,71,14],[249,189,221,131,83,138,132,121,88,7,185,250,209,186,25,196,71,227,232,27,247,185,81,202,191,188,54,85,231,214,66,3],[171,85,139,188,53,207,84,3,208,221,109,26,14,235,162,249,230,42,13,190,54,164,164,77,119,106,40,70,145,173,237,12],[116,169,68,8,203,114,10,106,98,208,142,84,221,57,146,224,119,248,189,183,36,137,3,155,126,51,47,21,76,29,5,10],[8,211,57,251,87,176,179,161,78,251,103,54,254,131,210,8,113,38,249,66,117,252,55,104,14,114,57,26,178,139,226,9],[154,87,133,163,123,250,49,33,91,29,0,114,65,81,215,19,209,214,64,211,155,175,20,227,12,14,236,112,249,9,108,6],[127,96,146,227,234,153,120,212,206,65,31,11,128,20,248,239,173,34,163,9,208,41,157,1,230,115,1,49
```
< / details >
< details >
< summary > Redeem Invite Example Response Body:< / summary >
```
{"P":[158,48,58,109,112,63,163,221,246,86,68,40,203,198,172,229,48,165,212,24,217,35,210,117,177,250,116,10,56,158,71,16],"EncQ":[[96,107,43,110,46,79,159,147,41,233,206,131,83,157,170,77,108,3,81,90,124,208,184,13,154,37,102,36,191,187,160,28],[68,150,155,39,182,251,137,160,121,77,55,117,42,177,36,104,249,10,119,198,152,111,229,148,25,167,18,190,15,20,37,5]],"id_server":[125,194,43,165,29,199,185,99,201,13,13,44,100,229,247,159,140,238,82,244,142,153,238,214,17,34,172,164,33,149,63,13],"TId":[10,98,204,193,129,140,44,145,144,253,106,3,69,234,46,228,230,165,130,8,8,184,184,41,237,185,254,53,36,194,20,13],"TBucket":[0,6,173,135,62,6,226,96,13,145,175,107,77,158,114,53,197,119,143,204,3,189,134,82,18,198,71,200,241,172,87,46],"TLevel":[108,123,189,84,111,59,6,254,20,171,14,161,171,129,6,46,80,201,207,45,220,64,132,171,82,76,65,3,158,151,236,98],"TSince":[252,63,183,220,60,74,142,108,36,162,157,94,107,106,179,40,123,205,131,45,158,51,253,87,192,208,184,241,141,215,217,122],"TInvRemain":[178,46,58,212,109,250,84,99,25,25,134,107,231,233,29,70,159,103,249,215,232,208,25,97,157,99,143,122,22,22,54,18],"TBlockages":[164,100,104,140,236,8,244,129,72,106,27,201,90,54,35,181,16,139,113,129,63,167,206,238,207,74,208,62,70,185,230,66],"P_inv":[70,31,6,88,139,27,8,45,85,119,121,84,244,244,118,211,56,23,178,72,107,227,100,214,53,248,126,183,133,73,179,124],"EncQ_inv":[[124,98,249,59,38,25,186,137,59,11,228,47,34,178,40,95,8,255,163,3,113,130,27,236,136,162,197,75,187,163,188,126],[196,45,243,51,167,229,54,250,57,139,219,110,161,246,149,204,245,58,223,228,126,233,126,149,54,53,177,29,214,42,157,6]],"inv_id_server":[224,120,57,159,123,93,255,61,80,61,197,96,32,143,116,219,222,114,34,54,182,9,170,163,182,34,116,106,79,130,25,14],"TId_inv":[190,141,39,173,9,22,223,200,179,243,46,167,148,25,169,104,193,248,59,132,175,144,223,142,70,176,103,42,110,1,28,45],"date_inv":[20,140,37,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"TBucket_inv":[236,237,167,211,244,111,158,155,15,232,221,14,113,252,182,54,148,20,238,253,69,44,151,189,88,11,92,227,132,254,1,126],"TBlockages_inv":[214,137,196,168,229,91,25,158,219,63,40,141,165,133,195,98,134,58,35,51,185,164,94,83,67,81,56,206,76,122,102,68],"piBlindIssue":{"challenge":[105,82,110,192,79,192,90,71,120,73,167,227,177,218,183,98,214,45,114,163,168,252,54,203,116,85,137,90,7,125,84,2],"responses":[[138,203,73,159,3,197,199,19,226,100,61,44,226,125,196,166,53,53,228,68,104,86,250,206,102,209,58,90,8,133,207,15],[136,144,233,58,122,221,65,151,157,101,34,173,225,92,99,112,35,31,214,13,165,94,202,198,215,185,145,61,160,73,217,12],[10,164,71,38,11,107,213,164,193,11,14,15,236,37,160,71,74,6,9,182,170,152,163,75,182,40,190,235,149,219,60,9],[182,161,112,164,181,86,244,52,128,253,122,89,151,107,131,33,95,18,223,87,184,234,56,8,157,154,67,50,89,86,132,9],[38,33,38,128,39,52,189,233,124,69,69,106,131,82,118,176,207,64,236,242,58,8,183,68,250,14,222,241,221,205,187,11],[118,212,243,248,150,215,23,186,197,114,162,134,116,179,199,144,203,168,250,71,43,3,129,78,208,13,92,154,213,25,111,12],[222,199,70,199,212,14,132,117,20,226,170,202,213,40,1,135,142,97,137,107,203,159,48,151,233,139,53,223,70,131,127,5],[140,64,87,0,48,164,59,82,186,68,146,141,175,109,103,164,218,10,175,165,153,205,182,155,37,87,193,24,241,33,86,9],[251,229,121,23,184,232,152,37,140,167,231,92,177,251,149,90,119,218,238,240,151,99,109,193,57,37,215,162,149,76,142,15],[145,110,85,173,109,141,87,152,2,131,61,153,1,47,241,153,232,125,227,18,243,202,226,244,71,61,222,38,245,44,148,1],[138,211,14,36,20,56,145,20,66,197,23,160,251,54,137,125,22,209,243,161,213,13,231,103,237,113,216,135,171,118,209,7],[187,218,141,253,105,37,85,8,125,190,161,12,136,17,55,75,236,154,32,135,223,110,59,22,253,54,252,153,67,220,204,11],[227,150,211,35,168,237,55,47,166,75,166,229,24,31,185,170,188,17,77,84,172,164,34,212,34,253,19,72,224,196,36,9],[211,36,230,214,187,116,98,3,193,86,241,142,87,148,93,250,59,150,206,205,84,3,226,141,252,138,159,230,46,100,188,0],[239,27,172,219,186,5,0,49,145,18,30,201,176,18,223,226,93,133,154,92,111,161,113,122,81,186,49,9,2
2024-01-09 20:08:45 -05:00
```
< / details >
##### Check Blockage
2024-01-11 15:09:15 -05:00
- `Endpoint: /checkblockage`
- `Body:` Check Blockage Zero-knowledge proof
2024-01-09 20:08:45 -05:00
< details >
2024-01-11 15:09:15 -05:00
< summary > Check Blockage Example Request:< / summary >
2024-01-09 20:08:45 -05:00
```
POST /checkblockage HTTP/1.1
Host: localhost:8100
Content-Type: application/json
2024-01-11 15:09:15 -05:00
{"P":[176,159,125,82,185,204,226,229,174,210,108,48,32,64,165,45,134,220,96,89,52,155,31,222,236,40,133,245,19,219,85,118],"id":[110,201,10,124,149,111,7,176,137,67,33,150,25,244,13,16,137,32,221,243,61,144,191,118,134,196,100,110,159,10,21,3],"CBucket":[128,252,182,175,149,73,150,177,50,43,45,186,163,113,57,183,93,53,91,151,169,171,120,140,143,116,86,232,110,191,226,8],"level":[4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"CSince":[116,23,231,54,241,169,164,108,255,112,104,169,244,148,172,99,206,86,194,136,102,90,254,117,163,202,250,37,243,91,141,45],"CInvRemain":[178,31,245,207,247,98,150,81,165,73,6,126,141,250,232,197,167,105,211,180,168,180,87,62,204,73,48,53,151,111,121,88],"CBlockages":[74,24,11,27,253,231,54,79,222,135,192,172,150,233,157,245,102,59,142,23,66,87,197,196,248,59,63,239,244,126,253,50],"CQ":[206,247,36,135,206,10,226,237,21,15,11,220,117,141,239,101,117,92,136,92,152,229,162,226,51,232,179,65,250,115,130,15],"D":[136,28,121,129,106,95,161,100,137,245,155,246,138,230,33,57,143,40,100,150,99,137,212,35,8,135,103,149,121,243,36,17],"EncBucket":[[164,27,160,129,185,101,54,11,151,56,23,146,250,157,65,137,27,73,92,225,104,167,233,140,214,173,73,65,232,92,185,51],[46,203,180,172,131,64,11,87,56,239,40,93,249,139,55,236,252,164,132,187,61,87,243,170,1,30,90,150,35,80,78,102]],"piUser":{"challenge":[141,125,52,46,170,232,72,117,165,154,60,147,18,238,48,241,235,62,228,97,71,65,0,94,48,160,6,28,109,97,16,1],"responses":[[32,102,109,187,111,189,224,103,152,253,52,252,99,209,47,76,207,223,66,151,75,35,8,151,34,186,213,147,241,156,113,9],[145,229,52,93,77,163,22,85,226,110,110,5,163,209,83,197,149,223,213,187,97,72,1,151,112,166,214,198,50,33,152,3],[217,13,151,211,215,15,19,229,46,254,134,225,45,233,51,198,160,199,84,111,90,41,79,41,212,90,227,249,116,14,82,11],[68,180,118,43,238,215,179,71,0,228,70,4,40,155,55,75,160,80,67,170,76,60,103,188,57,223,247,74,27,151,74,2],[120,109,9,220,57,111,21,17,0,122,199,201,77,45,139,132,12,197,202,153,185,158,197,233,170,146,15,71,8,192,179,14],[168,242,53,82,204,254,21,248,183,132,131,231,73,14,61,174,217,232,220,3,127,95,122,142,57,166,92,229,43,89,185,6],[138,155,224,162,106,59,30,197,128,199,27,8,28,144,89,20,121,238,12,100,166,114,203,42,195,236,40,211,200,122,82,10],[186,24,221,101,118,231,48,64,83,204,60,203,96,45,225,216,124,191,73,194,150,123,2,35,243,106,222,118,46,204,75,13],[36,56,97,235,152,122,198,102,69,154,165,4,145,200,225,200,189,157,14,134,152,78,52,32,56,101,27,111,187,224,110,12],[59,144,235,45,122,150,56,243,12,95,118,244,8,117,231,14,232,81,4,103,54,93,235,6,228,169,122,12,172,50,165,0],[85,146,184,1,140,96,101,143,236,171,171,141,90,144,174,184,19,119,83,64,54,28,227,24,242,41,245,170,210,154,122,12]]}}
```
< / details >
< details >
< summary > Check Blockage Example Response:< / summary >
```
{"Pk":[34,9,208,207,158,21,137,135,239,15,24,210,253,216,145,58,63,131,158,154,204,243,19,116,251,68,145,238,3,41,237,105],"EncQk":[[40,73,172,63,198,149,157,136,74,128,221,220,239,194,77,246,198,61,117,11,117,69,68,107,107,118,100,22,237,38,42,85],[20,34,180,128,39,254,125,110,134,171,222,193,14,118,56,233,141,169,122,21,219,160,156,183,44,159,243,102,54,7,185,108]],"enc_migration_table":[[[167,227,95,28,81,242,38,149,57,143,63,175,10,168,193,223],[107,137,114,123,211,16,66,112,139,36,192,226,200,55,211,219,246,50,217,28,74,66,250,237,2,188,26,254,97,14,44,111,113,218,106,238,238,53,201,142,55,49,67,50,131,97,46,136,2,254,187,112,20,67,195,83,70,255,24,171,202,180,47,123,0,57,124,43,214,48,178,131,203,193,169,240,164,154,129,53,152,89,116,94,136,139,13,61,144,201,20,146,59,100,185,141,70,91,227,190,125,230,230,188,239,57,107,59,117,236,118,240,185,233,153,144,184,11,59,162,55,62,78,191]],[[112,227,160,10,101,25,58,58,19,61,73,108,247,122,106,17],[22,169,172,102,129,110,93,182,10,195,249,211,23,127,203,118,138,66,62,99,229,217,69,119,28,103,59,157,179,91,243,187,43,246,134,68,189,99,232,95,135,142,91,241,11,244,253,195,59,70,147,22,205,123,206,37,226,231,30,31,78,160,104,148,180,60,247,152,7,255,166,236,39,142,239,143,237,174,108,118,15,3,234,241,145,99,215,19,29,30,27,4,249,128,170,34,187,141,13,242,74,183,31,69,183,112,205,20,154,76,98,159,5,248,178,187,169,101,244,64,11,72,151,162]],[[237,23,244,73,227,245,38,15,83,157,248,187,83,214,187,146],[21,254,192,38,151,106,171,197,222,236,32,244,255,210,91,162,34,122,183,12,126,142,26,138,54,30,44,194,89,20,188,19,117,87,85,13,17,231,202,9,56,155,25,223,69,126,241,206,79,142,63,105,119,229,127,223,34,26,91,62,201,18,232,254,58,40,203,214,124,225,61,45,192,199,78,183,73,53,208,150,27,106,161,171,159,156,134,11,178,20,93,96,226,15,212,78,88,185,233,17,130,117,27,49,26,195,154,5,25,119,88,149,21,44,4,160,187,248,115,198,251,127,90,153]],[[207,34,219,45,226,231,35,247,115,31,74,52,59,7,86,64],[71,112,86,59,29,124,44,53,233,147,175,214,77,91,120,77,166,239,201,237,74,237,217,129,78,57,119,174,204,71,241,142,15,247,137,231,37,220,42,76,230,151,108,3,201,88,67,225,41,56,132,213,196,161,202,150,8,177,147,151,216,199,255,78,156,183,105,23,28,31,150,147,214,65,54,189,70,152,64,162,225,38,132,198,53,50,32,236,156,209,114,54,102,59,196,145,155,135,63,166,171,245,82,210,137,88,186,77,29,215,100,193,156,78,146,168,161,67,3,64,46,54,245,198]],[[111,106,255,106,80,110,75,148,84,14,215,244,249,200,89,195],[117,81,171,75,98,75,236,180,9,19,117,228,16,236,120,24,170,75,53,210,25,60,187,71,146,175,95,231,154,91,91,140,194,23,207,147,223,160,64,3,229,179,70,142,124,170,151,88,228,156,108,186,33,50,31,206,43,32,157,211,254,172,103,2,194,59,6,81,200,61,164,95,148,174,37,53,195,234,140,113,84,128,1,237,145,210,29,190,112,160,150,167,47,140,46,98,32,184,89,55,248,219,186,176,108,166,201,197,183,235,26,153,245,235,230,246,233,138,44,250,208,20,220,90]],[[106,181,86,194,152,149,49,72,225,199,173,49,225,235,243,112],[20,47,181,237,160,0,109,56,139,193,96,33,253,218,115,187,89,159,168,43,161,40,85,123,162,198,196,216,63,148,140,80,150,217,90,163,241,47,216,56,140,36,26,71,31,216,78,8,197,31,221,254,71,23,238,14,28,21,180,191,18,123,160,170,133,124,172,82,224,229,168,50,231,52,226,174,101,45,99,208,48,132,164,164,140,129,140,109,65,33,230,110,106,125,113,247,41,101,146,17,86,109,67,38,44,107,238,156,225,129,22,157,123,54,213,227,122,84,171,5,249,155,150,42]],[[167,163,45,141,108,225,65,136,101,14,188,41,154,172,204,157],[209,204,70,25,135,255,39,107,12,234,137,56,21,143,71,234,83,228,169,118,66,215,223,192,80,103,188,30,64,24,189,119,225,119,161,226,203,234,32,94,158,254,216,35,114,138,194,177,49,147,116,33,158,136,245,166,38,186,192,192,65,244,193,214,90,115,236,104,228,12,17,95,51,111,46,199,175,53,36,79,213,22,72,3,49,227,17,8,209,105,38,222,172,184,127,148,7,65,91,113,100,13,220,120,164,142,189,132,170,78,55,102,8,247,105,206,249,124,247,77,75,56,171,25]],[[245,73,52,132,144,82,208,133,241,115,50,148,55,114,220,28],[253,75,120,93,214,247,68,76,201,253,55,238,136,18,56,29,185,62,166,66,72,109,183,227,
2024-01-09 20:08:45 -05:00
```
< / details >
##### Blockage Migration
2024-01-11 15:09:15 -05:00
- `Endpoint: /blockagemigration`
- `Body:` empty
2024-01-09 20:08:45 -05:00
< details >
2024-01-11 15:09:15 -05:00
< summary > Blockage Migration Example Request:< / summary >
2024-01-09 20:08:45 -05:00
```
POST /blockagemigration HTTP/1.1
Host: localhost:8100
Content-Type: application/json
2024-01-11 15:09:15 -05:00
{"P_lox":[244,66,16,253,185,186,65,140,87,144,41,174,195,153,109,21,60,118,104,91,203,164,26,117,29,196,141,59,143,152,143,113],"id":[110,201,10,124,149,111,7,176,137,67,33,150,25,244,13,16,137,32,221,243,61,144,191,118,134,196,100,110,159,10,21,3],"CBucket":[116,131,134,23,143,207,134,108,213,196,39,156,48,80,168,170,30,173,173,58,201,157,212,71,105,63,241,227,26,48,244,88],"trust_level":[4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"CSince":[60,69,60,149,197,114,142,38,58,65,75,61,138,176,136,179,22,242,222,134,70,27,153,104,180,179,71,162,46,165,211,92],"CInvRemain":[42,19,204,9,79,167,242,88,232,214,166,25,111,164,16,85,146,164,35,26,205,224,80,122,124,91,192,171,88,29,50,69],"CBlockages":[238,28,184,10,141,191,168,9,109,50,130,45,19,255,73,57,174,59,77,94,114,223,233,8,45,10,241,120,131,21,226,15],"CQ_lox":[70,94,235,63,18,63,212,224,67,100,245,12,249,184,67,42,100,85,59,222,78,222,254,31,119,96,249,214,180,127,111,120],"P_mig":[176,58,219,12,213,151,150,31,85,249,125,53,87,19,205,248,215,246,16,135,36,58,36,240,65,131,118,226,180,127,44,13],"CFromBucket":[196,40,197,241,11,200,131,127,210,2,242,13,124,62,200,80,70,155,27,172,65,192,217,204,2,12,19,251,229,66,120,49],"CToBucket":[30,106,87,97,65,22,170,88,184,136,44,52,69,231,210,165,47,62,26,47,150,27,44,87,213,16,39,82,157,141,13,75],"CQ_mig":[64,132,35,142,215,81,244,138,81,206,160,54,175,167,117,244,209,22,217,230,30,237,40,23,24,60,251,136,230,126,44,43],"D":[250,235,61,179,250,235,17,234,22,79,191,103,219,238,79,167,150,215,17,77,12,0,170,217,97,101,126,185,178,111,245,51],"EncIdClient":[[142,85,237,130,190,119,109,121,232,177,228,244,145,118,82,110,58,248,180,5,138,14,164,204,220,75,113,127,54,167,230,26],[162,191,197,63,176,205,108,221,238,132,35,236,222,216,227,17,193,126,78,97,233,127,103,207,132,13,31,99,66,204,195,68]],"EncBucket":[[0,136,76,26,188,72,31,41,151,70,203,231,200,244,124,185,245,244,164,208,101,122,2,125,76,181,58,1,114,154,27,13],[172,62,253,201,127,221,232,44,146,17,147,231,27,158,255,244,118,54,169,229,104,45,74,87,218,9,103,3,1,191,2,50]],"EncBlockages":[[158,45,53,79,174,169,254,192,120,52,196,64,110,160,25,202,96,89,116,195,247,239,85,77,181,89,65,46,111,243,83,66],[92,136,225,242,45,94,7,201,220,240,43,80,166,165,37,142,52,42,235,216,48,204,231,78,171,44,255,223,14,109,43,112]],"piUser":{"challenge":[235,16,96,229,244,50,205,50,241,137,67,111,48,233,37,170,160,241,101,40,21,161,134,171,148,249,28,254,92,243,139,6],"responses":[[47,108,79,220,232,169,70,203,248,25,42,97,189,198,104,131,95,210,93,54,8,204,198,148,37,74,234,67,76,92,249,12],[35,151,123,170,22,213,163,186,208,127,126,174,9,40,105,157,89,139,13,69,114,120,227,113,20,108,32,205,53,102,35,9],[245,202,165,4,204,121,154,201,247,216,212,94,47,204,235,48,181,76,102,64,140,20,181,166,103,97,172,93,19,92,58,15],[85,149,124,112,45,76,162,131,214,170,90,249,240,182,189,192,173,133,229,248,250,248,16,133,136,240,237,5,48,170,182,5],[48,226,153,127,224,94,51,1,47,94,117,224,164,31,194,173,212,154,140,5,129,3,79,194,98,50,169,163,171,9,101,11],[158,32,241,189,38,129,18,3,169,56,73,181,236,210,101,75,69,37,160,147,191,66,95,22,194,220,13,173,128,185,218,9],[136,205,197,8,105,1,178,0,150,251,32,197,228,66,8,62,145,242,49,234,19,201,127,241,61,200,155,165,232,34,157,5],[174,167,250,36,29,144,214,121,164,244,206,254,156,99,126,15,38,214,217,77,38,171,128,230,187,228,171,219,254,176,1,6],[207,9,219,61,26,95,176,199,246,68,171,145,163,241,201,25,68,93,41,193,53,142,134,244,117,15,28,187,26,2,194,6],[198,182,168,27,8,213,106,150,118,244,244,26,177,167,212,227,151,223,0,209,113,218,7,168,137,103,19,249,21,188,13,4],[207,124,191,137,174,52,189,251,119,20,243,27,228,208,226,16,156,219,84,184,8,89,117,90,180,202,174,77,198,251,140,6],[118,182,164,225,37,88,133,182,181,118,175,250,17,182,106,142,217,153,33,239,255,84,152,209,40,218,8,88,203,145,238,2],[41,181,203,81,122,52,86,177,131,94,160,47,129,46,40,252,215,84,197,189,130,72,34,220,37,182,176,100,232,102,205,12],[247,126,239,137,250,125,215,109,90,246,51,188,24,119,115,2,206,10,197,190,248,208,251,1,146,84,224,70,41,200,11
2024-01-09 20:08:45 -05:00
```
< / details >
2024-01-11 15:09:15 -05:00
< details >
< summary > Blockage Migration Example Response:< / summary >
2024-01-09 20:08:45 -05:00
```
2024-01-11 15:09:15 -05:00
{"level_since":[20,140,37,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"P":[124,122,63,182,163,124,26,204,134,23,206,23,63,238,120,136,185,142,0,252,96,235,128,9,225,61,255,146,115,135,28,19],"EncQ":[[240,129,244,77,43,254,111,218,102,136,93,83,122,139,245,42,45,95,255,119,91,85,9,244,236,87,160,145,100,51,127,8],[204,62,205,4,188,224,252,83,105,20,109,125,167,33,245,219,234,242,116,116,176,55,160,226,22,26,241,148,73,19,102,35]],"id_server":[102,47,181,77,221,9,246,101,99,39,134,160,222,73,15,192,157,141,137,55,196,213,138,196,162,218,180,4,74,253,227,15],"TId":[222,147,92,70,187,38,98,158,125,128,120,90,70,200,36,109,177,104,64,156,44,139,144,48,24,185,214,131,95,31,195,123],"TBucket":[82,246,176,21,96,217,229,193,245,207,117,18,73,169,238,173,214,61,33,129,94,47,159,76,74,216,84,106,150,12,99,100],"TBlockages":[24,152,253,236,251,220,196,98,130,89,107,20,106,26,38,171,228,8,74,122,220,85,157,226,58,176,226,159,242,131,164,117],"piBlindIssue":{"challenge":[232,4,80,43,255,20,117,12,180,205,2,71,124,163,89,60,202,40,6,58,219,73,173,214,199,29,141,88,27,99,226,13],"responses":[[95,39,31,175,90,14,191,91,107,247,58,132,77,62,75,195,166,73,249,185,78,250,233,62,5,231,48,36,226,159,126,0],[21,193,243,254,2,246,130,154,251,16,238,19,7,193,205,186,137,132,75,198,197,175,110,177,131,193,192,126,251,115,207,15],[223,142,39,42,15,13,53,218,14,224,92,157,246,243,103,114,5,48,184,64,105,145,174,214,151,67,206,253,239,185,123,10],[252,252,34,173,100,131,225,169,190,60,152,168,243,238,202,115,29,216,247,2,118,170,130,21,98,152,3,34,198,155,200,14],[114,16,94,170,97,49,73,229,198,178,160,149,191,14,212,149,250,219,49,52,153,81,27,162,84,232,59,219,132,211,254,7],[21,25,220,68,133,246,115,240,130,4,132,113,217,35,103,11,33,24,27,94,200,75,107,239,92,164,253,54,52,175,74,0],[33,19,246,134,211,208,223,18,37,124,214,181,153,52,34,23,124,147,113,49,82,160,81,145,143,139,118,28,37,119,26,5],[79,100,175,176,86,127,180,136,20,198,29,142,219,108,241,195,195,83,59,193,8,87,204,107,56,10,217,255,95,209,70,10],[212,234,126,206,35,69,82,15,197,245,181,0,104,101,248,61,173,28,94,68,179,137,66,33,252,205,240,30,33,131,16,1],[160,25,141,38,108,79,202,75,182,47,108,215,87,163,24,30,92,68,114,49,141,4,251,132,102,53,104,30,50,250,199,1],[30,89,81,201,158,86,87,134,220,229,229,254,162,42,112,202,50,124,148,5,136,39,153,28,139,217,28,198,14,88,227,5],[60,212,70,231,44,242,203,36,182,30,161,237,161,123,66,114,117,66,75,60,42,65,34,161,105,112,181,149,35,35,241,7],[87,242,82,232,70,162,67,103,88,190,54,100,10,101,46,198,124,150,209,0,32,186,189,206,30,200,160,17,236,153,115,1]]}}
2024-01-09 20:08:45 -05:00
```
2024-01-11 15:09:15 -05:00
< / details >