Visitor

Display the visitors of a record

Method & Permission

API

GET

POST

PUT

PATCH

DELETE

Visitor List

Admin, Project Admin, Project Edit, Project View

-

-

-

-

Visitor Detail

Admin, Project Admin, Project Edit, Project View

-

-

-

-

Visitor List

GET /tables/visitor/list/{level}/{sid}/{serializer}/

Path Parameters

Name
Type
Description

level

string

organization

sid

string

organization sid

serializer

string

Query Parameters

Name
Type
Description

row__sid

string

The row sid

Headers

Name
Type
Description

token

string

# serializer = name
{
    "page_size": 10,
    "page_number": 1,
    "page_count": 1,
    "count": 7,
    "next": null,
    "previous": null,
    "add_permission": true,
    "results": [
        {
            "sid": "yBEH0a40x15AFKPUZ50",
            "name": "XXX at 2021-03-23 06:24:27.804126+00:00"
        },
          ...
    ]
}
# serializer = list
{
    "page_size": 10,
    "page_number": 1,
    "page_count": 1,
    "count": 7,
    "next": null,
    "previous": null,
    "add_permission": true,
    "results": [
        {
            "sid": "yBEH0a40x15AFKPUZ50",
            "updated_by": "XXX",
            "date_created": "2021-03-23T06:24:27.804126Z",
            "change_permission": false
        },
          ...
    ]
}
# serializer = detail
{
    "page_size": 10,
    "page_number": 1,
    "page_count": 1,
    "count": 7,
    "next": null,
    "previous": null,
    "add_permission": true,
    "results": [
        {
            "sid": "yBEH0a40x15AFKPUZ50",
            "row": {
                "sid": "psvy0a40x6e7crwBGLQV1",
                "name": "EP579: Test Name 20210321184523"
            },
            "updated_by": "XXX",
            "date_created": "2021-03-23T06:24:27.804126Z",
            "change_permission": false
        },
          ...
    ]
}

Visitor Detail

GET /tables/visitor/detail/{sid}/

Path Parameters

Name
Type
Description

sid

string

Headers

Name
Type
Description

token

string

{
    "sid": "yBEH0a40x15AFKPUZ50",
    "row": {
        "sid": "psvy0a40x6e7crwBGLQV1",
        "name": "EP579: Test Name 20210321184523"
    },
    "updated_by": "XXX",
    "date_created": "2021-03-23T06:24:27.804126Z",
    "change_permission": false
},

Last updated