Skip to content

User Milestones

User Milestones APIs

Get User Milestones

Request

Overview

The User Milestones API provides information about the milestones of an agent within the article workflow. This API helps track the progress of articles by grouping them into relevant milestones based on their current stage.

For example, an article might go through Knowledge Workflow Stages like Draft, Initial Review, Staging, Final Review and Publish. Articles in the Draft and Initial Review stages are part of the "authoring milestone", while articles in the Staging and Final Review stages are part of the "staging milestone".

Security
oAuthUser(Required scopes:
https://api.egain.cloud/auth/kno...
)
or oAuthOnBehalfOfUser(Required scopes:
https://api.egain.cloud/auth/kno...
)
Headers
Accept-Languagestringrequired

The Language locale accepted by the client (used for locale specific fields in resource representation and in error responses).

Enum:"en-US""es-ES""fr-FR""it-IT""de-DE""nl-NL""pt-BR""pt-PT""da-DK""ru-RU"
Example:en-US
GET
/portals/user/milestones
curl -i -X GET \
  https://api.egain.cloud/knowledge/portalmgr/v4/portals/user/milestones \
  -H 'Accept-Language: en-US' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Success

Bodyapplication/json
milestoneArray of objects(Milestone)

milestones

Response
{ "milestone": [ {} ] }