Get Links
get
/api/link/Links/
Gets the links that match the specified parameters. If no parameters are specified, all diagrams are returned.
Request
Query Parameters
-
filter: object
The fields to filter the results by. You cannot filter by fields that contain a state.
This parameter's value uses the following JSON format:
{
"property": "property",
"value": "propertyValue",
"operator": "operator",
"conjunction": "conjunction"
}
If you use multiple JSON objects to combine filters, for example, to filter by several different device names, you cannot combine OR and AND conjunctions. The conjunction used for the last object applies to the entire list.-
conjunction:
string
Default Value:
OR
Allowed Values:[ "AND", "OR" ]
The conjunction between filters.Example:AND
-
operator:
string
Default Value:
LIKE
Allowed Values:[ "eq", "ne", "gte", "gt", "lte", "lt", "LIKE", "NOT LIKE", "re", "not re", "NOT IN" ]
The filter operation to use.Example:eq
-
property(required):
string
The name of the field to filter on.Example:
name
-
value(required):
string
The value of the field to filter on.Example:
test
-
conjunction:
string
-
limit: integer(int32)
The number of records to limit results by.Example:
100
-
sort: object
The field and direction to sort results by. You cannot sort by fields that contain a state.
This parameters value uses the following JSON format:
{
"property": "property",
"direction": "direction"
}-
direction(required):
string
Allowed Values:
[ "ASC", "DESC" ]
The direction of the sort.Example:ASC
-
property(required):
string
The field to sort on.Example:
name
-
direction(required):
string
-
start: integer(int32)
The page of results to start from.Default Value:
0
Example:1
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Successful operation
Nested Schema : SuccessfulGetOperation
Type:
Show Source
object
-
message: string
The response message.Example:
Loaded 1 entries
-
success: boolean
Whether the operation was a success (true) or a failure (false).Example:
true
Nested Schema : type
Type:
Show Source
object
-
data: array
data
The list of links that match the specified parameters.
-
total: integer
The total number of results regardless of paging.Example:
1
Nested Schema : linkLinksRead
Type:
Show Source
object
-
LinkIcon: string
The image used to display for the link.Example:
fugue/address-book-open.png
-
LinkID: integer
Link ID specified for individual CRUD operationsExample:
1004
-
LinkName: string
The name for the link.Example:
Unified Assurance Knowledgebase
-
LinkPath: string
The relative or absolute URL.Example:
/vendor/mediawiki/index.php/Main_Page
-
LinkTypeID: integer
Unique identifier for the type of link. Allowed Values: - 1 => External (the relative or absolute path separate from Unified Assurance) - 2 => Internal (the relative path to Unified Assurance UI packages) - 3 => Embedded (Embed the whole URL into the link and open the link as a side panel. This is useful if the URL has the same domain but falls outside the OUCA document root. E.g. "https:///saml/")Example:
1
-
LinkTypeName: string
Name of the link type.Example:
External
-
OwnerUserGroupID: integer
Unique identifier for the user group owner of the link.Example:
0
-
OwnerUserID: integer
Unique identifier for the user owner of the link.Example:
0
-
Viewers: array
Viewers
Selection of user groups that have view-only access to link.
Nested Schema : Viewers
Type:
array
Selection of user groups that have view-only access to link.
Show Source
Nested Schema : items
Type:
Show Source
object
-
UserGroupID: integer
User Group ID
-
UserGroupName: string
User Group Name
Default Response
Failed operation
Root Schema : schema
Type:
Show Source
object
-
errors: array
errors
The list of errors reported. Validation errors will be keyed by record field.
-
message: string
The response message.Example:
Exception thrown
-
success: boolean
Whether the operation was a success (true) or a failure (false).Example:
false
Nested Schema : errors
Type:
array
The list of errors reported. Validation errors will be keyed by record field.
Show Source
Nested Schema : items
Type:
object