Checks one statement expression against the current saved catalog without modifying configuration.
using System.Net.Http.Headers;var client = new HttpClient();var request = new HttpRequestMessage{ Method = HttpMethod.Post, RequestUri = new Uri("https://example.com/api/workspace/admin/entity-definitions/example/security/authoring-validate"), Headers = { { "Authorization", "Bearer <token>" }, }, Content = new StringContent("{ \"ExpectedDescriptorFingerprint\": \"example\", \"Source\": \"example\" }") { Headers = { ContentType = new MediaTypeHeaderValue("application/json") } }};using (var response = await client.SendAsync(request)){ response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body);}const url = 'https://example.com/api/workspace/admin/entity-definitions/example/security/authoring-validate';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"ExpectedDescriptorFingerprint":"example","Source":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/workspace/admin/entity-definitions/example/security/authoring-validate \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "ExpectedDescriptorFingerprint": "example", "Source": "example" }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”Optional access token for clients that cannot set Authorization headers. Prefer Authorization: Bearer <token> when possible.
Request Bodyrequired
Section titled “Request Bodyrequired”Checks raw editor text against the current saved subject and its empty-source description.
object
Examplegenerated
{ "ExpectedDescriptorFingerprint": "example", "Source": "example"}Checks raw editor text against the current saved subject and its empty-source description.
object
Examplegenerated
{ "ExpectedDescriptorFingerprint": "example", "Source": "example"}Checks raw editor text against the current saved subject and its empty-source description.
object
Examplegenerated
{ "ExpectedDescriptorFingerprint": "example", "Source": "example"}Responses
Section titled “Responses”OK
object
A completed expression check; catalog and authorization failures use the API error envelope.
object
An error in the submitted text, with optional zero-based UTF-16 offsets and exclusive End.
object
object
object
object
object
Example
{ "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}Bad Request
object
A completed expression check; catalog and authorization failures use the API error envelope.
object
An error in the submitted text, with optional zero-based UTF-16 offsets and exclusive End.
object
object
object
object
object
Example
{ "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}Unauthorized
object
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Forbidden
object
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Not Found
object
A completed expression check; catalog and authorization failures use the API error envelope.
object
An error in the submitted text, with optional zero-based UTF-16 offsets and exclusive End.
object
object
object
object
object
Example
{ "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}