UserClouds logo
Userstore/Api

Execute Accessor

This endpoint executes a specified accessor (custom read API).

POST
/userstore/api/accessors

Query Parameters

starting_after?string

A cursor value after which the returned list will start

ending_before?string

A cursor value before which the returned list will end

limit?string

The maximum number of results to be returned per page

sort_key?string

A comma-delimited list of column names to sort the results by - the last column name must be 'id'

sort_order?string

The order in which results should be sorted (ascending or descending)

access_primary_db_only?boolean
accessor_id?string
Formatuuid
context?object

Empty Object

debug?boolean
region?string
selector_values?array<unknown>

Response Body

curl -X POST "https://your-tenant-name.tenant.userclouds.com/userstore/api/accessors?starting_after=string&ending_before=string&limit=string&sort_key=string&sort_order=string" \
  -H "Content-Type: application/json" \
  -d '{}'
const body = JSON.stringify({})

fetch("https://your-tenant-name.tenant.userclouds.com/userstore/api/accessors?starting_after=string&ending_before=string&limit=string&sort_key=string&sort_order=string", {
  body
})
package main

import (
  "fmt"
  "net/http"
  "io/ioutil"
  "strings"
)

func main() {
  url := "https://your-tenant-name.tenant.userclouds.com/userstore/api/accessors?starting_after=string&ending_before=string&limit=string&sort_key=string&sort_order=string"
  body := strings.NewReader(`{}`)
  req, _ := http.NewRequest("POST", url, body)
  req.Header.Add("Content-Type", "application/json")
  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  body, _ := ioutil.ReadAll(res.Body)

  fmt.Println(res)
  fmt.Println(string(body))
}
import requests

url = "https://your-tenant-name.tenant.userclouds.com/userstore/api/accessors?starting_after=string&ending_before=string&limit=string&sort_key=string&sort_order=string"
body = {}
response = requests.request("POST", url, json = body, headers = {
  "Content-Type": "application/json"
})

print(response.text)
{
  "data": [
    "string"
  ],
  "debug": {
    "property1": null,
    "property2": null
  },
  "has_next": true,
  "has_prev": true,
  "next": "string",
  "prev": null,
  "truncated": true
}
Empty
Empty
Empty
Empty
Empty