Skip to main content

Get relation

Returns a relation by ID

Path Parameters
    id string required
Responses

A successful response.


Schema
    relation object
    id string
    created_at date-time

    The time the relation was created.

    updated_at date-time

    The time the relation was last updated.

    subject_sub_relation string
    relation string
    object objectnamespace:id
    subject subjectnamespace:id
GET /v1beta1/relations/:id

Authorization

name: Basic type: httpdescription: use Client ID as username and Client Secret as passwordin: headerscheme: basic

Request

Base URL
http://127.0.0.1:7400
Security Scheme
Username
Password
id — path required
curl / cURL
curl -L -X GET 'http://127.0.0.1:7400/v1beta1/relations/:id' \
-H 'Accept: application/json'