annoscaling

Suggest annotations

Changed on

Suggest annotations

post/annoscaling/confirm_suggestions

Request

  • The document declares no server URL.
  • Auth
    OAuth 2
    Password
    Token URL: /authentication/login

Request body

project_idinteger required

Project to apply suggestions

code_idinteger required

Code to apply on accepted spans

reject_code_idinteger required

Code to apply on rejected spans

Response

Successful Response

begininteger required

Begin of the SpanAnnotation in characters

endinteger required

End of the SpanAnnotation in characters

begin_tokeninteger required

Begin of the SpanAnnotation in tokens

end_tokeninteger required

End of the SpanAnnotation in tokens

idinteger required

ID of the SpanAnnotation

textstring required

The SpanText the SpanAnnotation spans.

code_idinteger required

Code the SpanAnnotation refers to

user_idinteger required

User the SpanAnnotation belongs to

sdoc_idinteger required

SourceDocument the SpanAnnotation refers to

createdstring date-time required

Created timestamp of the SpanAnnotation

updatedstring date-time required

Updated timestamp of the SpanAnnotation

group_idsinteger[] required

The group ids this span annotations belongs to

memo_idsinteger[] required

Memo IDs attached to the SpanAnnotation

Changes

    • breaking

      the response's body type changed from no type to array for status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status