Skip to content

Can you clarify the R3 documents? #9

@christian-posta

Description

@christian-posta

If an agent makes a request for multiple R3 operations and that spans multiple R3 documents, how is that handled for the resource token/R3 spec? i see a single r3_url and sha256

A calendar resource has two R3 documents:

// R3 doc A — https://calendar.example.com/r3/read
{
  "type": "urn:example:calendar:read",
  "operations": [
    { "operationId": "listEvents" },
    { "operationId": "getEvent" }
  ]
}

// R3 doc B — https://calendar.example.com/r3/write
{
  "type": "urn:example:calendar:write",
  "operations": [
    { "operationId": "createEvent" },
    { "operationId": "updateEvent" }
  ]
}

An agent requests:

{
  "r3_operations": {
    "vocabulary": "urn:aauth:vocabulary:openapi",
    "operations": [
      { "operationId": "listEvents" },
      { "operationId": "createEvent" }
    ]
  }
}

listEvents is in doc A, createEvent is in doc B. The resource token can only carry one r3_uri/r3_s256. What should the resource do?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions