Get an evidence library document
Retrieve an evidence library document by ID with all its versions and the latest disputes that use one of them, with the version each one uses.
usages holds the latest 100 dispute links, newest first; usedInCount is the total. For a
caller limited to some workspaces, both count only disputes in those workspaces.
Returns 404 when the evidenceLibraryEnabled feature flag is off.Authorizations
You can use an OAuth2 JWT bearer token in the Authorization header of your API requests for supported endpoints: Authorization: Bearer <YOUR_JWT_HERE>.
These tokens are valid for 10 minutes and can be requested via the access token endpoint endpoint.
Path Parameters
Identifier of the resource in Payrails.
Response
The evidence library document.
Kind of library document. terms and policy documents are attached to every dispute; productDescription documents to not-as-described disputes.
terms, policy, productDescription Which new disputes Payrails attaches the document to, derived from its kind.
allDisputes, notAsDescribedDisputes Number of disputes that use any version of the document. For a caller limited to some workspaces, only disputes in those workspaces count.
Absent when the document applies to every workspace.
The version valid now. Absent when every version starts in the future.
When a dispute last started to use a version of the document. For a caller limited to some workspaces, only disputes in those workspaces count.
All versions, lowest first. Returned by create (version 1 only), get, add version and archive; not returned by list.
The latest 100 dispute links to a version of the document, newest first, one entry per link; usedInCount is the total. Returned by get, add version and archive; not returned by list.
100