GET/documents/{documentId}/attribution/ranges
List document attribution ranges
Operation documents.attribution.ranges.list
Description
Pages a document's complete edit attribution when the compact attribution response is truncated. Requires read access. A cursor or expected revision from before a later write returns 409, and the client restarts from the first page.
Authentication
Requires a signed-in session: the client sends its session token as a bearer token in the Authorization header.
Parameters
| Name | In | Type | Details |
|---|---|---|---|
documentId | path | string | required |
cursor | query | string | optional |
expectedRevision | query | integer | optional
|
limit | query | integer | optional
|
accept-encoding | header | string | optional |
Responses
200 OK
application/jsonListDocumentEditAttributionRangesResponse
One page of a document's complete edit attribution.
- object
5 fields
attributionRevisionintegerrequired- at least 0
documentIdstringrequired- not empty
- at most 500 items
hasMorebooleanrequired- always
true
- always
nextCursorstringrequired- not empty
Other fields are allowed.
- object
5 fields
attributionRevisionintegerrequired- at least 0
documentIdstringrequired- not empty
- at most 500 items
hasMorebooleanrequired- always
false
- always
nextCursornullrequired
Other fields are allowed.
Response headers
| Name | Type | Details |
|---|---|---|
cache-control | string | required
|
content-encoding | string | optional |
content-type | string | required
|
vary | string | required
|
Other responses
| Status | Meaning | Body |
|---|---|---|
| 400 | Bad Request |
|
| 401 | Unauthorized |
|
| 403 | Forbidden |
|
| 404 | Not Found |
|
| 409 | Conflict |
|
| 500 | Internal Server Error |
|
| 503 | Service Unavailable |
|
Additional rules
The server also enforces these rules, which the schema above cannot express.
Document attribution segment start counters are less than end counters.