Comments

Get comment position by document ID

Changed on

Return the 1-based position of a comment thread in an object's comment list.

get/api/v1/commentPositionByDocumentID

Request

  • The document declares no server URL.
  • Auth: HTTP bearer

Query parameters

objectIDstring required

Parent object ID.

documentIDstring required

Comment documentID to locate in the list.

objectCode'PROJ' | 'TASK' | 'OPTASK' | 'DOCU' | 'PRGM' | 'PORT' | 'TMPL' | 'TTSK' | 'ITRN' | 'USER' | 'TSHET' | 'GOAL' | 'TEAMOB' | 'BOARD' | 'CARD' | 'RECORD' | 'GS_APPROVALS' | 'cjaProject' | 'cjaProjectStage' | 'AEM' | 'ESS_SITE_APPROVALS' | 'plays' | 'sapphire_email' | 'Sp_CommentObject' | 'intake-request'

Object type code identifying the parent object. Supported values by platform:

Adobe Customer Journey Analytics: cjaProject, cjaProjectStage

Adobe Experience Manager: AEM

Adobe Experience Success Studio (ESS): ESS_SITE_APPROVALS

Adobe GenStudio: GS_APPROVALS

Adobe Journey Optimizer B2B Edition: sapphire_email

Adobe Plays: plays

Adobe Workfront: PROJ, TASK, OPTASK, DOCU, PRGM, PORT, TMPL, TTSK, ITRN, USER, TSHET, GOAL, TEAMOB

Adobe Workfront Boards: BOARD, CARD

Adobe Workfront Intake: intake-request

Adobe Workfront Planning: RECORD

Microsoft SharePoint: Sp_CommentObject

Object type code (recommended for access checks). See the Supported object codes table for all valid values.

Response

OK

integer required

1-based position of the comment thread in the object's list.

Changes

    • breaking

      the query request parameter objectCode was restricted to a list of enum values

    • info

      added the new enum value AEM to the query request parameter objectCode

    • info

      added the new enum value BOARD to the query request parameter objectCode

    • info

      added the new enum value CARD to the query request parameter objectCode

    • info

      added the new enum value DOCU to the query request parameter objectCode

    • info

      added the new enum value ESS_SITE_APPROVALS to the query request parameter objectCode

    • info

      added the new enum value GOAL to the query request parameter objectCode

    • info

      added the new enum value GS_APPROVALS to the query request parameter objectCode

    • info

      added the new enum value ITRN to the query request parameter objectCode

    • info

      added the new enum value OPTASK to the query request parameter objectCode

    • info

      added the new enum value PORT to the query request parameter objectCode

    • info

      added the new enum value PRGM to the query request parameter objectCode

    • info

      added the new enum value PROJ to the query request parameter objectCode

    • info

      added the new enum value RECORD to the query request parameter objectCode

    • info

      added the new enum value Sp_CommentObject to the query request parameter objectCode

    • info

      added the new enum value TASK to the query request parameter objectCode

    • info

      added the new enum value TEAMOB to the query request parameter objectCode

    • info

      added the new enum value TMPL to the query request parameter objectCode

    • info

      added the new enum value TSHET to the query request parameter objectCode

    • info

      added the new enum value TTSK to the query request parameter objectCode

    • info

      added the new enum value USER to the query request parameter objectCode

    • info

      added the new enum value cjaProject to the query request parameter objectCode

    • info

      added the new enum value cjaProjectStage to the query request parameter objectCode

    • info

      added the new enum value intake-request to the query request parameter objectCode

    • info

      added the new enum value plays to the query request parameter objectCode

    • info

      added the new enum value sapphire_email to the query request parameter objectCode