What re-applying auto-linking to every placement of the site would change, after its categories or its placements' labels changed.
Reference
GET https://YOUR-NETWORK-DOMAIN/rest-api/sites/{siteId}/auto-linking.do
What re-applying auto-linking to every placement of the site would change, after its categories or its placements' labels changed. Nothing is written. linkCount: creative-placement links to add, unlinkCount: links to remove, placementCount: placements affected. All zero means the links already follow the auto-linking rules. Requires UPDATE share on the site and APPLY_AUTO_LINKING.
Path Params
siteIdintegerrequired
ID of the site
1001
Responses
200
The change
400
Bad request — invalid or missing parameters
401
Authentication error
403
Missing share or permission; the message names the permission
using var client = new HttpClient();
var request = new HttpRequestMessage(new HttpMethod("GET"), "https://YOUR-NETWORK-DOMAIN/rest-api/sites/1001/auto-linking.do");
request.Headers.Add("X-Api-Key", "YOUR_API_KEY");
var response = await client.SendAsync(request);
Console.WriteLine(await response.Content.ReadAsStringAsync());