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

Retrieve Directory

GET
/directory/retrieve-directory/{directoryName}
Directory

Retrieve Directory.
Both directory name and short name can be used here.

Request

Path Params
directoryName
string 
required
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/retrieve-directory/' \
--header 'X-DPT-AUTHORIZATION;'

Responses

🟢200OK
application/json
OK
Body
id
string 
optional
Directory id.
Example:
example_directory_id
name
string 
optional
Directory name.
Example:
example_directory_name
shortName
string 
optional
Directory short name.
Example:
example_directory_short_name
profileId
string 
optional
Example:
example_directory_owner_profile_id
createdAt
string 
optional
Created at.
Example:
2025-02-10T10:03:06+00:00
Example
{
  "id": "example_directory_id",
  "name": "example_directory_name",
  "shortName": "example_directory_short_name",
  "profileId": "example_directory_owner_profile_id",
  "createdAt": "2025-02-10T10:03:06+00:00"
}
🟠401Unauthorized
🟠403Forbidden
🟠404Record Not Found
Previous
Retrieve assigned directories
Next
Create Directory User
Built with