POST v1/Article/{articleKey}/Contributor

Create a contributor for an article. There can be multiple contributors for an article.

Roles Allowed

admin, editor

Request Information

URI Parameters

NameDescriptionTypeAdditional information
articleKey

Identifies the article the contributor applies to

integer

Required

Body Parameters

The name of the contributor to add

string

Request Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HTTP 201 with new Contributor, HTTP 404 if article not found, HTTP 409 if validation fails

ArticleContributor
NameDescriptionTypeAdditional information
ArticleContributorKey

Unique identifier for a Contributor

integer

None.

Contributor

Name of the Contributor

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ArticleContributorKey": 1,
  "Contributor": "sample string 2"
}

application/xml, text/xml

Sample:
<ArticleContributor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bondi.Models.V3.ApiDto">
  <Contributor>sample string 2</Contributor>
  <ArticleContributorKey>1</ArticleContributorKey>
</ArticleContributor>