Hướng dẫn AgentFlow

list_mention_people

GET/mentions/people

Only a person who can read the record is offered, so a mention never names someone the record is hidden from. Blank q offers the first people by name.

AuthorizationBearer <token>

A service principal's credential, or a person's access token, AgentFlow's own or an installed app's. A service principal's effective permissions are its role permissions intersected with the credential's scopes.

In: header

Query Parameters

entity_id*string

The entity of the record being written about.

Formatuuid
record_id*string

The record being written about.

Formatuuid
q?string

What the person has typed after the @ (only the first 64 characters and 8 words count): every word must begin a word of a name or the start of an email, accents and case ignored. Blank offers everyone who can read the record.

limit?integer

How many people to offer, 1 to 8; 8 when absent.

Formatint32
Range1 <= value <= 8

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/mentions/people?entity_id=497f6eca-6276-4993-bfeb-53cbbbba6f08&record_id=497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "items": [    {      "email": "string",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "is_self": true,      "name": "string"    }  ]}