{{summary}}
No results containing all your search terms were found
{{method.summary}}
{{method.desc}}
| Name | Located In | Description | Required | Schema |
|---|---|---|---|---|
{{param.name}} |
{{param.location}} |
{{param.desc}} |
{{param.required ? 'Yes':'No'}} |
|
| Code | Description | Schema |
|---|---|---|
{{res.code}} |
{{res.desc}} |
Scheme
HTTP Headers
| Name | Value | Action |
|---|---|---|
| {{key}} | Remove |
{{computeBody(method)}}warning This is a Mixed Content call. Many browsers will block this by default. Learn more
warning This is a cross-origin call. Make sure the server at {{getDestHost(method.request.choosen.scheme)}} accepts POST requests from {{currentHost}}. Learn more
The TCM HTML5 viewer is launched by passing a query parameter in the URL. The query parameter is first base64 encoded and then URL encoded.
Example:
To programmatically generate the query parameter, it is important to know what the parameter structure looks like. Prior to encoding, the above query parameter looks like this:
TCMRedactionMode|TCMDELIM|eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJ0b3B0YWwuY29tIiwiZXhwIjoxNDI2NDIwODAwLCJodHRwOi8vdG9wdGFsLmNvbS9qd3RfY2xhaW1zL2lzX2FkbWluIjp0cnVlLCJjb21wYW55IjoiVG9wdGFsIiwiYXdlc29tZSI6dHJ1ZX0.yRQYnWzskCZUxPwaQupWkiUzKELZ49eM7oWxAQK_ZXw|TCMDELIM|CJGospel55
Arguments are separated by the string literal |TCMDELIM|
Viewer Mode
Example: TCMRedactionMode
The Viewer Mode parameter must always be set to "TCMRedactionMode"
Security Token
Example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJ0b3B0YWwuY29tIiwiZXhwIjoxNDI2NDIwODAwLCJodHRwOi8vdG9wdGFsLmNvbS9qd3RfY2xhaW1zL2lzX2FkbWluIjp0cnVlLCJjb21wYW55IjoiVG9wdGFsIiwiYXdlc29tZSI6dHJ1ZX0.yRQYnWzskCZUxPwaQupWkiUzKELZ49eM7oWxAQK_ZXw
This required JSON Web Token must be requested separately.
Document Number
Example: CJGospel55
The Document Number is caller-assigned during document creation (POST /Documents).
Fetch a JWT (JSON Web Token) to open the HTML5 viewer.
| Name | Located In | Description | Required | Schema |
|---|---|---|---|---|
body |
body |
Action parameters |
Yes |
{ "Type": "string", /* must be the string literal "editRedactions" */ "Scope": { "DocumentNumber": "string" /* caller-assigned during document creation (Post /Documents) */ }, "AuditId": "string" /* caller-specified for auditing purposes */ } |
| Code | Description | Schema |
|---|---|---|
200 | Success | "string" // JWT encoded as string
|
default |
Error |
{ "error": { /* Main error */ "code": "string", /* Machine-readable sub-status for the HTTP error code of the response */ "message": "string", /* Human-readable, language-dependent error message */ "target": "string", /* Target of the particular error, for example the name of the property in error */ "details": [ /* List of error details */ { /* Error detail */ "code": "string", /* Machine-readable sub-status for the HTTP error code of the response */ "message": "string", /* Human-readable, language-dependent error message */ "target": "string" /* Target of the particular error, for example the name of the property in error */ } ], "innererror": { /* The structure of this object is service-specific */ } } } |