POST api/v2.0/Contacts/GetMyContributions

Returns a list of all items the authenticated user has authored. The list includes Announcements, Blogs, Discussion Messages, Library Entries, Questions, and Answers.

Request Information

URI Parameters

None.

Body Parameters

Properties to apply to return a paginated/scrollable list of items

MyContributionRequest
NameDescriptionTypeAdditional information
ItemStatus

Publication status to filter results. These are static strings that must be contained within the provided list: All, Published, Draft, Scheduled

ContributionStatus

None.

SortOrder

Sort Order possible values: asc or desc. Default: desc

string

None.

NumberToReturn

Number of items to return in the feed. Valid number to return is between 0 and 25. Default is 10.

integer

None.

Direction

Direction to fetch from the specified marker up (Larger Value) down (Smaller Value)

string

None.

Marker

Origin marker that can be used to grab the next set of feed items based on a marker from a previous request.

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ItemStatus": "All",
  "SortOrder": "sample string 1",
  "NumberToReturn": 2,
  "Direction": "sample string 3",
  "Marker": "sample string 4"
}

application/xml, text/xml

Sample:
<MyContributionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HigherLogic.API.Models.Enterprise.DataFeed">
  <Direction>sample string 3</Direction>
  <Marker>sample string 4</Marker>
  <NumberToReturn>2</NumberToReturn>
  <ItemStatus>All</ItemStatus>
  <SortOrder>sample string 1</SortOrder>
</MyContributionRequest>

Response Information

Resource Description

A list of the authenticated user's contributions.

Collection of DataFeedItem
NameDescriptionTypeAdditional information
ItemKey

The primary key associated with the item based on its content type

globally unique identifier

None.

Title

Title

string

None.

Body

Description

string

None.

Contributor

Author or Contributor of the data feed item

DataFeedContributor

None.

ParentContainer

Parent in which the data feed item is contained. Ex: Community

DataFeedParentContainer

None.

ActionText

Action Taken Text

string

None.

CreateDate

UTC timestamp for when the item was created. Use only if PublishedDate is not available.

date

None.

PublishedDate

UTC timestamp for when the item was published to users on the site

date

None.

PublicationStatus

Item status determined by PublishedOn date - the possible statuses include "scheduled", "draft", and "published"

string

None.

Date01

Custom date field used for certain content types such as the start date for events. As well as best response date for questions and answers.

date

None.

Date02

Custom date field used for certain content types such as the end date for events

date

None.

HasRecommended

Whether or not the current user has liked/recommended the feed item

boolean

None.

HasReplied

Whether or not the current user has replied/commented on the feed item

boolean

None.

Bool01

Generic boolean value specific to the type, ex: Whether or not the current user has registered for the item/event.

boolean

None.

Bool02

Generic boolean value specific to the type, ex: Whether or not the item/event is open for registration.

boolean

None.

ItemType

The type of content, such as blog, announcement, ...

string

None.

LinkToViewItem

Provides a url to view the item on the website

string

None.

Tags

All of the tags indexed for the item. This includes user tags and admin based tags

Collection of ItemTagResponse

None.

RecommendationCount

The number of times the item has been "recommended" or "liked"

integer

None.

AttachmentsContainer

The attachment container info, the attachments within the container, and their necessary metadata related to the specified item

DataFeedAttachmentsContainer

None.

ResponseCount

The number of responses for the thread that the item is contained in. If it is not contained within a thread it should not return.

integer

None.

Text01

Custom text field used for certain content types such as the location for events

string

None.

Text02

Custom text field used for certain content types such as the start/end date string for events

string

None.

Text03

Custom text field used for certain content types such as the event type name for events

string

None.

Text04

Custom text field used for certain content types such as the registration type for events

string

None.

ThreadKey

The ID of the thread containing the item

globally unique identifier

None.

Marker

Item origin marker

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ItemKey": "36006508-ae3c-44fb-a41d-d8f6e9c60ad8",
    "Title": "sample string 2",
    "Body": "sample string 3",
    "Contributor": {
      "ContactKey": "a2d7838b-1881-496f-8dea-73ddfb2a9481",
      "PictureUrl": "sample string 2",
      "FirstName": "sample string 3",
      "LastName": "sample string 4",
      "DisplayName": "sample string 5",
      "ViewUrl": "sample string 6"
    },
    "ParentContainer": {
      "ContainerKey": "2fbf0ba3-cfaa-4e92-b4c5-4a27ee863e6a",
      "ContainerName": "sample string 2",
      "ContainerType": "sample string 3"
    },
    "ActionText": "sample string 4",
    "CreateDate": "2021-05-18T01:17:53.8082154Z",
    "PublishedDate": "2021-05-18T01:17:53.8082154Z",
    "PublicationStatus": "published",
    "Date01": "2021-05-18T01:17:53.8082154Z",
    "Date02": "2021-05-18T01:17:53.8082154Z",
    "HasRecommended": true,
    "HasReplied": true,
    "Bool01": true,
    "Bool02": true,
    "ItemType": "sample string 13",
    "LinkToViewItem": "sample string 14",
    "Tags": [
      {
        "Tag": "sample string 1",
        "TagType": "sample string 2"
      },
      {
        "Tag": "sample string 1",
        "TagType": "sample string 2"
      }
    ],
    "RecommendationCount": 15,
    "AttachmentsContainer": {
      "DocumentKey": "5223fb9e-e8f2-4c9c-bc7e-89936034dfcb",
      "Attachments": [
        {
          "AttachmentKey": "a84c4ae9-0e8b-4606-b0ac-064ce2adf845",
          "AttachmentName": "sample string 2",
          "AttachmentUrl": "sample string 3",
          "MimeType": "sample string 4"
        },
        {
          "AttachmentKey": "a84c4ae9-0e8b-4606-b0ac-064ce2adf845",
          "AttachmentName": "sample string 2",
          "AttachmentUrl": "sample string 3",
          "MimeType": "sample string 4"
        }
      ]
    },
    "ResponseCount": 16,
    "Text01": "sample string 17",
    "Text02": "sample string 18",
    "Text03": "sample string 19",
    "Text04": "sample string 20",
    "ThreadKey": "97498e11-3316-4c43-a316-6156fcfcbbcc",
    "Marker": "sample string 22"
  },
  {
    "ItemKey": "36006508-ae3c-44fb-a41d-d8f6e9c60ad8",
    "Title": "sample string 2",
    "Body": "sample string 3",
    "Contributor": {
      "ContactKey": "a2d7838b-1881-496f-8dea-73ddfb2a9481",
      "PictureUrl": "sample string 2",
      "FirstName": "sample string 3",
      "LastName": "sample string 4",
      "DisplayName": "sample string 5",
      "ViewUrl": "sample string 6"
    },
    "ParentContainer": {
      "ContainerKey": "2fbf0ba3-cfaa-4e92-b4c5-4a27ee863e6a",
      "ContainerName": "sample string 2",
      "ContainerType": "sample string 3"
    },
    "ActionText": "sample string 4",
    "CreateDate": "2021-05-18T01:17:53.8082154Z",
    "PublishedDate": "2021-05-18T01:17:53.8082154Z",
    "PublicationStatus": "published",
    "Date01": "2021-05-18T01:17:53.8082154Z",
    "Date02": "2021-05-18T01:17:53.8082154Z",
    "HasRecommended": true,
    "HasReplied": true,
    "Bool01": true,
    "Bool02": true,
    "ItemType": "sample string 13",
    "LinkToViewItem": "sample string 14",
    "Tags": [
      {
        "Tag": "sample string 1",
        "TagType": "sample string 2"
      },
      {
        "Tag": "sample string 1",
        "TagType": "sample string 2"
      }
    ],
    "RecommendationCount": 15,
    "AttachmentsContainer": {
      "DocumentKey": "5223fb9e-e8f2-4c9c-bc7e-89936034dfcb",
      "Attachments": [
        {
          "AttachmentKey": "a84c4ae9-0e8b-4606-b0ac-064ce2adf845",
          "AttachmentName": "sample string 2",
          "AttachmentUrl": "sample string 3",
          "MimeType": "sample string 4"
        },
        {
          "AttachmentKey": "a84c4ae9-0e8b-4606-b0ac-064ce2adf845",
          "AttachmentName": "sample string 2",
          "AttachmentUrl": "sample string 3",
          "MimeType": "sample string 4"
        }
      ]
    },
    "ResponseCount": 16,
    "Text01": "sample string 17",
    "Text02": "sample string 18",
    "Text03": "sample string 19",
    "Text04": "sample string 20",
    "ThreadKey": "97498e11-3316-4c43-a316-6156fcfcbbcc",
    "Marker": "sample string 22"
  }
]

application/xml, text/xml

Sample:
<ArrayOfDataFeedItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HigherLogic.API.Models.Enterprise.DataFeed">
  <DataFeedItem>
    <ActionText>sample string 4</ActionText>
    <AttachmentsContainer>
      <Attachments>
        <DataFeedAttachment>
          <AttachmentKey>a84c4ae9-0e8b-4606-b0ac-064ce2adf845</AttachmentKey>
          <AttachmentName>sample string 2</AttachmentName>
          <AttachmentUrl>sample string 3</AttachmentUrl>
          <MimeType>sample string 4</MimeType>
        </DataFeedAttachment>
        <DataFeedAttachment>
          <AttachmentKey>a84c4ae9-0e8b-4606-b0ac-064ce2adf845</AttachmentKey>
          <AttachmentName>sample string 2</AttachmentName>
          <AttachmentUrl>sample string 3</AttachmentUrl>
          <MimeType>sample string 4</MimeType>
        </DataFeedAttachment>
      </Attachments>
      <DocumentKey>5223fb9e-e8f2-4c9c-bc7e-89936034dfcb</DocumentKey>
    </AttachmentsContainer>
    <Body>sample string 3</Body>
    <Bool01>true</Bool01>
    <Bool02>true</Bool02>
    <Contributor>
      <ContactKey>a2d7838b-1881-496f-8dea-73ddfb2a9481</ContactKey>
      <DisplayName>sample string 5</DisplayName>
      <FirstName>sample string 3</FirstName>
      <LastName>sample string 4</LastName>
      <PictureUrl>sample string 2</PictureUrl>
      <ViewUrl>sample string 6</ViewUrl>
    </Contributor>
    <CreateDate>2021-05-17T21:17:53.8082154-04:00</CreateDate>
    <Date01>2021-05-17T21:17:53.8082154-04:00</Date01>
    <Date02>2021-05-17T21:17:53.8082154-04:00</Date02>
    <HasRecommended>true</HasRecommended>
    <HasReplied>true</HasReplied>
    <ItemKey>36006508-ae3c-44fb-a41d-d8f6e9c60ad8</ItemKey>
    <ItemType>sample string 13</ItemType>
    <LinkToViewItem>sample string 14</LinkToViewItem>
    <Marker>sample string 22</Marker>
    <ParentContainer>
      <ContainerKey>2fbf0ba3-cfaa-4e92-b4c5-4a27ee863e6a</ContainerKey>
      <ContainerName>sample string 2</ContainerName>
      <ContainerType>sample string 3</ContainerType>
    </ParentContainer>
    <PublishedDate>2021-05-17T21:17:53.8082154-04:00</PublishedDate>
    <RecommendationCount>15</RecommendationCount>
    <ResponseCount>16</ResponseCount>
    <Tags xmlns:d3p1="http://schemas.datacontract.org/2004/07/HigherLogic.API.Models.Enterprise.Tagging">
      <d3p1:ItemTagResponse>
        <d3p1:Tag>sample string 1</d3p1:Tag>
        <d3p1:TagType>sample string 2</d3p1:TagType>
      </d3p1:ItemTagResponse>
      <d3p1:ItemTagResponse>
        <d3p1:Tag>sample string 1</d3p1:Tag>
        <d3p1:TagType>sample string 2</d3p1:TagType>
      </d3p1:ItemTagResponse>
    </Tags>
    <Text01>sample string 17</Text01>
    <Text02>sample string 18</Text02>
    <Text03>sample string 19</Text03>
    <Text04>sample string 20</Text04>
    <ThreadKey>97498e11-3316-4c43-a316-6156fcfcbbcc</ThreadKey>
    <Title>sample string 2</Title>
  </DataFeedItem>
  <DataFeedItem>
    <ActionText>sample string 4</ActionText>
    <AttachmentsContainer>
      <Attachments>
        <DataFeedAttachment>
          <AttachmentKey>a84c4ae9-0e8b-4606-b0ac-064ce2adf845</AttachmentKey>
          <AttachmentName>sample string 2</AttachmentName>
          <AttachmentUrl>sample string 3</AttachmentUrl>
          <MimeType>sample string 4</MimeType>
        </DataFeedAttachment>
        <DataFeedAttachment>
          <AttachmentKey>a84c4ae9-0e8b-4606-b0ac-064ce2adf845</AttachmentKey>
          <AttachmentName>sample string 2</AttachmentName>
          <AttachmentUrl>sample string 3</AttachmentUrl>
          <MimeType>sample string 4</MimeType>
        </DataFeedAttachment>
      </Attachments>
      <DocumentKey>5223fb9e-e8f2-4c9c-bc7e-89936034dfcb</DocumentKey>
    </AttachmentsContainer>
    <Body>sample string 3</Body>
    <Bool01>true</Bool01>
    <Bool02>true</Bool02>
    <Contributor>
      <ContactKey>a2d7838b-1881-496f-8dea-73ddfb2a9481</ContactKey>
      <DisplayName>sample string 5</DisplayName>
      <FirstName>sample string 3</FirstName>
      <LastName>sample string 4</LastName>
      <PictureUrl>sample string 2</PictureUrl>
      <ViewUrl>sample string 6</ViewUrl>
    </Contributor>
    <CreateDate>2021-05-17T21:17:53.8082154-04:00</CreateDate>
    <Date01>2021-05-17T21:17:53.8082154-04:00</Date01>
    <Date02>2021-05-17T21:17:53.8082154-04:00</Date02>
    <HasRecommended>true</HasRecommended>
    <HasReplied>true</HasReplied>
    <ItemKey>36006508-ae3c-44fb-a41d-d8f6e9c60ad8</ItemKey>
    <ItemType>sample string 13</ItemType>
    <LinkToViewItem>sample string 14</LinkToViewItem>
    <Marker>sample string 22</Marker>
    <ParentContainer>
      <ContainerKey>2fbf0ba3-cfaa-4e92-b4c5-4a27ee863e6a</ContainerKey>
      <ContainerName>sample string 2</ContainerName>
      <ContainerType>sample string 3</ContainerType>
    </ParentContainer>
    <PublishedDate>2021-05-17T21:17:53.8082154-04:00</PublishedDate>
    <RecommendationCount>15</RecommendationCount>
    <ResponseCount>16</ResponseCount>
    <Tags xmlns:d3p1="http://schemas.datacontract.org/2004/07/HigherLogic.API.Models.Enterprise.Tagging">
      <d3p1:ItemTagResponse>
        <d3p1:Tag>sample string 1</d3p1:Tag>
        <d3p1:TagType>sample string 2</d3p1:TagType>
      </d3p1:ItemTagResponse>
      <d3p1:ItemTagResponse>
        <d3p1:Tag>sample string 1</d3p1:Tag>
        <d3p1:TagType>sample string 2</d3p1:TagType>
      </d3p1:ItemTagResponse>
    </Tags>
    <Text01>sample string 17</Text01>
    <Text02>sample string 18</Text02>
    <Text03>sample string 19</Text03>
    <Text04>sample string 20</Text04>
    <ThreadKey>97498e11-3316-4c43-a316-6156fcfcbbcc</ThreadKey>
    <Title>sample string 2</Title>
  </DataFeedItem>
</ArrayOfDataFeedItem>