Skip to main content

Modify simple document

POST
api/v2/docs/p/:project_id/:action

Modify simple document

Path Parameters

  • project_id string required
    Example: a1ab1abc-a123-123a-123a-abcd12ab1a12
  • action string required

    Operation to do on the ducument. Allowed values: create, update, upserte, delete, undelete.

    Example: update

Query Parameters

  • annotate string

    Talkwalker API recalculates set field based on the updated content.

    Example: sentiment
  • return_entry string

    Specifies if the modified document should be returned. Allowed values: hide or show. Default value: hide

    Example: hide
  • proc_tokens_calc string

    Specifies when and which tokens are generated. Allowed values: all_if_new, all_always_if_possible. default value: all_if_new

    Example: all_if_new
  • proc_lang_autodetect string

    Specifies when the language is automatically detected Allowed values: only_if_new, always_if_new_content. Fefault value: only_if_new

    Example: only_if_new
  • proc_content_ellipsis string

    Special behavior for ellipsis in string fields. Allowed values: no_special_handling, ignore_if_start_same. Default value: ignore_if_start_same

    Example: ignore_if_start_same
  • proc_lang_fallback string

    default language code: en

    Example: en
  • proc_annotate_language string

    Language annotation. Allowed values: annotate_if_not_set, use_default. Default value: annotate_if_not_set.

    Example: annotate_if_not_set
  • proc_annotate_sentiment string

    Sentiment annotation. Allowed values: annotate_if_not_set, use_default. Default value: annotate_if_not_set.

    Example: annotate_if_not_set

Request Body

  • object
Responses

OK


Schema
  • object
Loading...