List FPP REST Users
get
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/fppServers/{fppServerId}/restUsers
Lists REST users of an FPP server
Request
Path Parameters
-
fppServerId(required): string
ID of the FPP Server
Query Parameters
-
limit: integer(int32)
Limit count of the items in the responseExample:
10 -
page: string
Marker indicating the next set (page) of itemsExample:
b2Zmc2V0OjA -
sort: string
Comma separated list of fields along with an optional sort direction. The supported attribute of sorting is 'username'.Valid sort directions are 'asc' and 'desc'. If sort direction is not specified, 'asc' is used by default.Example:
username:asc
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Ok. REST users retrived.
Root Schema : RestUserCollection
Type:
objectList of FPP REST users registered with FPP Server
Show Source
-
items: array
items
Array of REST users
-
targetId: string
ID of the Target
Match All
List of FPP REST users registered with FPP Server
List of FPP REST users registered with FPP Server
Show Source
-
object
Pagination
Collection of items with links
-
object
schema
This is the representation of an EM target resource.
Nested Schema : Pagination
Type:
objectCollection of items with links
Show Source
-
count: integer
Count of this fetchExample:
40 -
links: object
Links
Represents the array of links
-
total: integer
total countExample:
40
Nested Schema : schema
Type:
objectThis is the representation of an EM target resource.
Show Source
-
accessPoints: array
accessPoints
the targets access points
-
agentUrl: string
(uri)
the agent monitoring the hostExample:
http://name.of.my.host:12345/emd/main -
brokenMessage: string
a more explanatory description of the broken reasonExample:
Response metric could not get collected -
brokenReason: string
the reason a target is brokenExample:
20 -
displayName: string
the target display nameExample:
My Database Instance -
hostName: string
(hostname)
the host of the targetExample:
name.of.my.host -
id(required): string
the target idExample:
D91786E288D35455C3ADA1B329B49BB5 -
links: object
links
the target related links
-
name(required): string
the target nameExample:
my_database_instance -
owner: string
the owner of the targetExample:
SYSMAN -
properties: array
properties
the target properties
-
status: string
Allowed Values:
[ "DOWN", "UP", "METRIC_ERROR", "AGENT_DOWN", "UNREACHABLE", "BLACKOUT", "PENDING", "REMOTE_HOST_UNREACHABLE" ]This is the representation of a target status.Example:UP -
statusCode: integer
the target status codeExample:
0 -
statusDisplayName: string
the localized statusExample:
Hochgefahren -
subStatus: string
the textual representation of the sub-statusExample:
Pending after blackout end -
subStatusCode: integer
the target sub-statusExample:
99 -
timeCreated: string
(date-time)
the creation time of the targetExample:
2020-10-25T13:45:15Z -
timezoneRegion: string
the targets timezone regionExample:
PST -
typeDisplayName: string
the type display name in the client localeExample:
Datenbankinstanz -
typeName: string
the target type nameExample:
oracle_database
Nested Schema : items
Type:
objectMatch All
Show Source
-
object
CreateRestUserDetails
Details of REST user
Nested Schema : CreateRestUserDetails
Type:
objectDetails of REST user
Show Source
-
password(required): string
(password)
Password to create the REST credential in EM, which is required to make a call to the FPP REST URLExample:
welcome1 -
username(required): string
REST username to be registered with the FPP server
Nested Schema : Links
Type:
objectRepresents the array of links
Show Source
-
next: object
Link
A link referencing to another api
-
previous: object
Link
A link referencing to another api
-
self: object
Link
A link referencing to another api
Nested Schema : Link
Type:
objectA link referencing to another api
Show Source
-
href: string
the reference
Nested Schema : accessPoints
Type:
arraythe targets access points
Show Source
-
Array of:
object AccessPoint
This is the representation of a target access point.
Example:
[
{
"name":"ap_name",
"type":"ap_type",
"agent":"http://name.of.my.host:12345/emd/main"
}
]Nested Schema : properties
Type:
arraythe target properties
Show Source
-
Array of:
object TargetPropertySummary
A target property describes a property of a target by id, name, display name and the value
Example:
[
{
"id":"orcl_gtp_os",
"name":"Operating System",
"displayName":"Betriebssystem",
"value":"Linux"
},
{
"id":"orcl_gtp_platform",
"name":"Platform",
"displayName":"Plattform",
"value":"x86_64"
}
]Nested Schema : AccessPoint
Type:
objectThis is the representation of a target access point.
Show Source
-
agent(required): string
(uri)
the agent of the access pointExample:
http://name.of.my.host:12345/emd/main -
name(required): string
the name of the access pointExample:
ap_name -
type(required): string
the type of the access pointExample:
ap_type
Nested Schema : TargetPropertySummary
Type:
objectA target property describes a property of a target by id, name, display name and the value
Show Source
-
displayName: string
the property name in the client locale. If the client locale is unknown or not supported this is the same as the name.
-
id: string
the property id. This is the internal name of the property
-
name: string
the English property name.
-
value: string
the property value.
Examples
400 Response
Bad Request
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error
Show Source
-
code: string
The status code of the errorExample:
IllegalArgument -
message: string
A descriptive error messageExample:
The argument given is not supported
401 Response
Unauthorized
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error
Show Source
-
code: string
The status code of the errorExample:
IllegalArgument -
message: string
A descriptive error messageExample:
The argument given is not supported
403 Response
Forbidden
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error
Show Source
-
code: string
The status code of the errorExample:
IllegalArgument -
message: string
A descriptive error messageExample:
The argument given is not supported
404 Response
Not Found
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error
Show Source
-
code: string
The status code of the errorExample:
IllegalArgument -
message: string
A descriptive error messageExample:
The argument given is not supported
500 Response
Internal Server Error
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error
Show Source
-
code: string
The status code of the errorExample:
IllegalArgument -
message: string
A descriptive error messageExample:
The argument given is not supported
503 Response
Service Unavailable
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error
Show Source
-
code: string
The status code of the errorExample:
IllegalArgument -
message: string
A descriptive error messageExample:
The argument given is not supported