List in-flight shares the caller sent that need re-sealing to a recipient's new device key (Option B).
GET
/v1/shares/reseal-queue
const url = 'https://api.share2.us/v1/shares/reseal-queue';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.share2.us/v1/shares/reseal-queue \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Open re-seal requests for the caller’s shares.
Media typeapplication/json
object
requests
Array<object>
object
share_id
Public id of the share to re-seal.
string
recipient_email
string
target_session_id
Recipient’s new device session id to seal to.
string
public_key
Recipient’s new X25519 device public key (base64).
string
Examplegenerated
{ "requests": [ { "share_id": "example", "recipient_email": "example", "target_session_id": "example", "public_key": "example" } ]}default
Section titled “default”Standard error envelope.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
request_id
required
string
Example
{ "error": { "code": "quota_exceeded" }}