Privicore
  1. Directory
Privicore
  • Privicore API
  • Utility
    • Utility
    • Check server health
      GET
    • Request command id status
      GET
  • Profile
    • Profile Model and Authentication Workflow
    • Register new profile
      POST
    • Authenticate
      POST
    • Retrieve profile id
      GET
    • Change password
      POST
    • Generate qr token for authorization
      POST
    • Reauthorize authorization token
      POST
    • Revoke authorization token
      POST
    • Retrieve token expiry
      POST
  • OAuth Application
    • Register OAuth Application
    • Retrieve OAuth app configuration
    • Request OAuth app authorization code
    • Retrieve OAuth app authorization code
    • Obtain OAuth app access token
    • OAuth application list
    • Retrieve OAuth application scope
    • Refresh OAuth app access token
  • Public key
    • Generate your private and public keys
    • Register public key
    • Retrieve public key
    • Retrieve CAB public key
  • Data Token
    • Reserve token space
    • Retrieve temporary data token
    • Exchange data for token
    • Upstream file via stream auth
    • Request data via token
    • Download data
    • Configure information security risk meta
    • Configure file meta
    • List data tokens
    • Update data token
    • Delete data
  • Device
    • Request unique identifier (i.e. Register new device)
    • Retrieve unique identifier
    • Retrieve profile devices
    • Configure device meta
    • Approve device
    • Reject device
    • Retrieve device configuration
    • Remove device
  • Storage
    • Register storage device
    • List storage devices
    • Synchronize device
    • Remove storage
  • Verified authenticator
    • Register authenticator
    • List verified authenticators
    • Retrieve voting strategy
    • Set quorum size
    • Set quorum strategy
    • Set voting time limit
    • Set maximum voting attempts
    • Remove authenticator
  • Policy
    • List policy templates
    • Register policy
    • List active policies
    • List inactive policies
    • Activate policy
    • Deactivate policy
    • Delete policy
  • Directory
    • Register Directory
      POST
    • Retrieve owned Directories
      GET
    • Retrieve assigned directories
      GET
    • Retrieve Directory
      GET
    • Create Directory User
      POST
    • Update user information
      POST
    • Invite Profile
      POST
    • Set profile password
      POST
    • List Directory Invites
      GET
    • Process Invitation
      POST
    • Retrieve directory profile
      GET
    • List directory users
      GET
    • Directory profiles info
      GET
    • Create profile device
      POST
    • Add storage device to profile
      POST
    • List directory devices
      GET
    • Create directory voting pool
      POST
    • Store directory meta information
      POST
  • Voting
    • Create voting
    • Check pool status
  1. Directory

List directory devices

GET
/directory/{directoryId}/list-devices
Directory
List devices that belong to a given directory

Request

Path Params
directoryId
string 
required
Example:
Query Params
page
integer 
optional
Example:
offset
integer 
optional
Example:
filters[configured]
integer 
optional
0 or 1
Example:
filters[profile]
string 
optional
Example:
Header Params
X-DPT-AUTHORIZATION
string 
required
Profile authorization token.
Example:

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://stage.privicore.com:9009/directory//list-devices' \
--header 'X-DPT-AUTHORIZATION;'

Responses

🟢200OK
application/json
OK
Body
items
array [object {7}] 
optional
deviceIdentifier
string 
optional
Unique device identifier.
Example:
example_device_identifier
profileId
string 
optional
Registered profile id.
Example:
example_profile_id
configured
integer 
optional
Example:
0
status
enum<integer> 
optional
Allowed values:
10
metaName
string 
optional
Example:
example_meta_name
metaSecurityLabel
array[string]
optional
createdAt
string 
optional
Created at.
Example:
2025-02-10T10:03:06+00:00
meta
object (meta) 
optional
page
integer 
optional
Example:
1
perPage
integer 
optional
Example:
25
count
integer 
optional
Example:
1
maxPage
integer 
optional
Example:
1
Example
{
  "items": [
    {
      "deviceIdentifier": "example_device_identifier",
      "profileId": "example_profile_id",
      "configured": 0,
      "status": 1,
      "metaName": "example_meta_name",
      "metaSecurityLabel": [
        "string"
      ],
      "createdAt": "2025-02-10T10:03:06+00:00"
    }
  ],
  "meta": {
    "page": 1,
    "perPage": 25,
    "count": 1,
    "maxPage": 1
  }
}
🟠401Unauthorized
🟠403Forbidden
🟠404Record Not Found
Previous
Add storage device to profile
Next
Create directory voting pool
Built with