POST api/v1.0/Blogs/AddRelatedLink?blogKey={blogKey}

Adds the specified URL as a RelatedLink to the specified Blog.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
blogKey

BlogKey of the Blog to which the Related Link should be added.

globally unique identifier

Required

Body Parameters

URL to add as the Related Link.

RelatedLinkRequest
NameDescriptionTypeAdditional information
Url

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Url": "sample string 1"
}

application/xml, text/xml

Sample:
<RelatedLinkRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HigherLogic.API.Models.Enterprise.Request">
  <Url>sample string 1</Url>
</RelatedLinkRequest>

Response Information

Resource Description

RelatedLink
NameDescriptionTypeAdditional information
RelatedLinkKey

globally unique identifier

None.

ItemKey

globally unique identifier

None.

Url

string

None.

Contributor

ContactConcise

None.

CreatedOn

date

None.

Response Formats

application/json, text/json

Sample:
{
  "RelatedLinkKey": "99cfefb2-6bf2-4492-942f-7b82afed0d19",
  "ItemKey": "3f871fbd-0a2a-4f93-a2b0-03e0cfc1e77c",
  "Url": "sample string 3",
  "Contributor": {
    "LinkToProfile": "sample string 1",
    "PictureUrl": "sample string 2",
    "ContactKey": "daa0702a-3ff8-4c1e-a94e-d89131096b17",
    "FirstName": "sample string 4",
    "LastName": "sample string 5",
    "DisplayName": "sample string 6",
    "EmailAddress": "sample string 7",
    "ContactStatusCode": "sample string 8",
    "PrefixCode": "sample string 9",
    "UpdatedOn": "2024-12-26T23:28:54.1899956Z",
    "UpdatedByContactKey": "6e63f86f-37c7-4557-9b18-97d2a74223f4",
    "CompanyName": "sample string 12",
    "CompanyTitle": "sample string 13",
    "SuffixCode": "sample string 14",
    "Designation": "sample string 15",
    "LegacyContactKey": "sample string 16",
    "InformalName": "sample string 17",
    "MiddleName": "sample string 18",
    "IsCompany": true,
    "CompanyLegacyContactKey": "sample string 20",
    "AMSDirectoryOptOut": true,
    "HLDirectoryOptOut": true,
    "HLContactMeOptOut": true,
    "LargePictureUrl": "sample string 24",
    "AgreedToTermsDateTime": "2024-12-26T23:28:54.1899956Z"
  },
  "CreatedOn": "2024-12-26T23:28:54.1899956Z"
}

application/xml, text/xml

Sample:
<RelatedLink xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HigherLogic.API.Models.Enterprise">
  <Contributor>
    <AMSDirectoryOptOut>true</AMSDirectoryOptOut>
    <AgreedToTermsDateTime>2024-12-26T18:28:54.1899956-05:00</AgreedToTermsDateTime>
    <CompanyLegacyContactKey>sample string 20</CompanyLegacyContactKey>
    <CompanyName>sample string 12</CompanyName>
    <CompanyTitle>sample string 13</CompanyTitle>
    <ContactKey>daa0702a-3ff8-4c1e-a94e-d89131096b17</ContactKey>
    <ContactStatusCode>sample string 8</ContactStatusCode>
    <Designation>sample string 15</Designation>
    <DisplayName>sample string 6</DisplayName>
    <EmailAddress>sample string 7</EmailAddress>
    <FirstName>sample string 4</FirstName>
    <HLContactMeOptOut>true</HLContactMeOptOut>
    <HLDirectoryOptOut>true</HLDirectoryOptOut>
    <InformalName>sample string 17</InformalName>
    <IsCompany>true</IsCompany>
    <LargePictureUrl>sample string 24</LargePictureUrl>
    <LastName>sample string 5</LastName>
    <LegacyContactKey>sample string 16</LegacyContactKey>
    <LinkToProfile>sample string 1</LinkToProfile>
    <MiddleName>sample string 18</MiddleName>
    <PictureUrl>sample string 2</PictureUrl>
    <PrefixCode>sample string 9</PrefixCode>
    <SuffixCode>sample string 14</SuffixCode>
    <UpdatedByContactKey>6e63f86f-37c7-4557-9b18-97d2a74223f4</UpdatedByContactKey>
    <UpdatedOn>2024-12-26T18:28:54.1899956-05:00</UpdatedOn>
  </Contributor>
  <CreatedOn>2024-12-26T18:28:54.1899956-05:00</CreatedOn>
  <ItemKey>3f871fbd-0a2a-4f93-a2b0-03e0cfc1e77c</ItemKey>
  <RelatedLinkKey>99cfefb2-6bf2-4492-942f-7b82afed0d19</RelatedLinkKey>
  <Url>sample string 3</Url>
</RelatedLink>