List the module-owned records a target-bound module page can open, such as Boards for the one-Board page.
using System.Net.Http.Headers;var client = new HttpClient();var request = new HttpRequestMessage{ Method = HttpMethod.Get, RequestUri = new Uri("https://example.com/api/workspace/admin/runtime-menus/module-pages/example/targets"), Headers = { { "Authorization", "Bearer <token>" }, },};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/admin/runtime-menus/module-pages/example/targets';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/workspace/admin/runtime-menus/module-pages/example/targets \ --header 'Authorization: Bearer <token>'The list is for configuration and is not filtered by the configuring user’s access; runtime resolution hides targets the viewer cannot open.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”Optional access token for clients that cannot set Authorization headers. Prefer Authorization: Bearer <token> when possible.
Responses
Section titled “Responses”OK
object
One module-owned record that a target-bound module page can open, such as one Board.
object
Stable record identifier stored as the menu item page target.
Record display name.
Optional MDI icon suggested for the menu item.
Whether viewers can open the record now, such as an active Board; items of an unavailable record stay hidden.
Workspace-independent name of the record, such as a Board key; installation packages refer to the target by it.
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"}Not Found
object
One module-owned record that a target-bound module page can open, such as one Board.
object
Stable record identifier stored as the menu item page target.
Record display name.
Optional MDI icon suggested for the menu item.
Whether viewers can open the record now, such as an active Board; items of an unavailable record stay hidden.
Workspace-independent name of the record, such as a Board key; installation packages refer to the target by it.
object
object
object
object
Example
{ "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}