Return distinct tag suggestions for one resource family.
using System.Net.Http.Headers;var client = new HttpClient();var request = new HttpRequestMessage{ Method = HttpMethod.Post, RequestUri = new Uri("https://example.com/api/workspace/tags/resource-suggestions"), Content = new StringContent("{ \"ModuleKey\": \"example\", \"ResourceKind\": \"example\", \"ContextResourceId\": \"example\" }") { Headers = { ContentType = new MediaTypeHeaderValue("application/json") } }};using (var response = await client.SendAsync(request)){ response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body);}const url = 'https://example.com/api/workspace/tags/resource-suggestions';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"ModuleKey":"example","ResourceKind":"example","ContextResourceId":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/workspace/tags/resource-suggestions \ --header 'Content-Type: application/json' \ --data '{ "ModuleKey": "example", "ResourceKind": "example", "ContextResourceId": "example" }'Authorizations
Section titled “Authorizations”- None
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Optional access token for clients that cannot set Authorization headers. Prefer Authorization: Bearer <token> when possible.
Request Body
Section titled “Request Body”Request payload to list distinct tag suggestions for one resource family.
object
Resource module key.
Resource kind inside the module.
Resource context id, such as an entity definition id, board id, entitlement plan id, or workspace.
Examplegenerated
{ "ModuleKey": "example", "ResourceKind": "example", "ContextResourceId": "example"}Request payload to list distinct tag suggestions for one resource family.
object
Resource module key.
Resource kind inside the module.
Resource context id, such as an entity definition id, board id, entitlement plan id, or workspace.
Examplegenerated
{ "ModuleKey": "example", "ResourceKind": "example", "ContextResourceId": "example"}Request payload to list distinct tag suggestions for one resource family.
object
Resource module key.
Resource kind inside the module.
Resource context id, such as an entity definition id, board id, entitlement plan id, or workspace.
Examplegenerated
{ "ModuleKey": "example", "ResourceKind": "example", "ContextResourceId": "example"}Responses
Section titled “Responses”OK
object
Tag details.
object
Tag identifier.
object
Tag name.
Optional color value.
Optional category.
Creation timestamp.
Creator user identifier.
Creator display name.
object
object
object
object
Example
{ "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}Bad Request
object
Tag details.
object
Tag identifier.
object
Tag name.
Optional color value.
Optional category.
Creation timestamp.
Creator user identifier.
Creator display name.
object
object
object
object
Example
{ "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}Forbidden
object
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}