Something went wrong. Try again.
Monorepo for Tangled
Something went wrong. Try again.
JSON
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071{ "lexicon": 1, "id": "sh.tangled.knot.listMemberInvites", "defs": { "main": { "type": "query", "description": "List this knot's outstanding membership offers. An offer leaves this listing once acceptMembership resolves the subject's record, or removeMember withdraws it.", "parameters": { "type": "params", "required": ["subject"], "properties": { "subject": { "type": "string", "format": "did", "description": "Knot identifier whose outstanding membership offers to list." }, "cursor": { "type": "string", "description": "Pagination cursor" }, "limit": { "type": "integer", "minimum": 1, "maximum": 1000, "default": 50 }, "order": { "type": "string", "knownValues": ["asc", "desc"], "default": "desc", "description": "Sort direction by createdAt." } } }, "output": { "encoding": "application/json", "schema": { "type": "object", "required": ["items"], "properties": { "items": { "type": "array", "items": { "type": "ref", "ref": "#inviteItem" } }, "cursor": { "type": "string" } } } } }, "inviteItem": { "type": "object", "description": "An offer awaiting the subject's acceptance. effectiveSince and access both arrive once the acceptance resolves.", "required": ["subject", "addedBy", "createdAt"], "properties": { "subject": { "type": "string", "format": "did", "description": "DID the knot offered membership to" }, "addedBy": { "type": "string", "format": "did", "description": "DID that made the offer" }, "createdAt": { "type": "string", "format": "datetime", "description": "When the knot made the offer. This listing sorts and pages on it." } } } }}