nokku.v1.ListTargetsResponse
objectnokku.v1.ListTargetsResponse
targets?array<nokku.v1.Target>
total?integer <int32>
Example
{
"targets": [
{
"id": "string",
"daemonId": "string",
"name": "string",
"description": "string",
"hostPublicKey": "string",
"tags": [
"string"
],
"endpoints": [
"string"
],
"usernames": [
"string"
],
"accounts": [
{
"id": "string",
"targetId": "string",
"username": "string",
"userIds": [
"string"
],
"teamIds": [
"string"
],
"serviceAccountIds": [
"string"
],
"createdAt": "2023-01-15T01:30:15.01Z",
"seenAt": "2023-01-15T01:30:15.01Z",
"expiresAt": {
"property1": "2023-01-15T01:30:15.01Z",
"property2": "2023-01-15T01:30:15.01Z"
}
}
],
"metadata": {
"property1": "string",
"property2": "string"
},
"createdAt": "2023-01-15T01:30:15.01Z",
"updatedAt": "2023-01-15T01:30:15.01Z",
"lastSyncAt": "2023-01-15T01:30:15.01Z",
"usernameExpiresAt": {
"property1": "2023-01-15T01:30:15.01Z",
"property2": "2023-01-15T01:30:15.01Z"
},
"blocked": "ACCESS_BLOCK_UNSPECIFIED",
"daemon": {
"id": "string",
"name": "string",
"online": true,
"status": "DAEMON_STATUS_UNSPECIFIED",
"config": {
"recordSessions": true,
"allowForwarding": true,
"allowAgentForwarding": true,
"gatewayPorts": true,
"ephemeral": true,
"idleTimeout": "string"
},
"updatedAt": "2023-01-15T01:30:15.01Z",
"createdAt": "2023-01-15T01:30:15.01Z",
"lastSeenAt": "2023-01-15T01:30:15.01Z",
"version": "string",
"behindSince": "2023-01-15T01:30:15.01Z"
}
}
],
"total": 0
}