User_Information
User Biography

User Biography

Create User Biography

POST
POST /v1/users/{uuid}/biography
💡
This request requires “PB-API-TOKEN” from the platforms.
Request
{
    "payload": {
        "uuid": "0778dcc0-ce8a-460a-aab6-2a4b38f2e9d3",
        "userUuid": "BD49B56C-EAC9-4653-8A71-59BD961BABBE",
        "bioText": "Hello, this is my Biography",
        "dateCreated": "2023-06-30T11:59:05.006421777Z",
        "firstName": "John",
        "lastName": "Doe",
        "dateOfRejection": "2023-06-30T11:59:05.006421777Z",
        "reasonOfRejection":""
    }
}
Response
{
    "result": {
        "uuid": "0778dcc0-ce8a-460a-aab6-2a4b38f2e9d3",
        "userUuid": "BD49B56C-EAC9-4653-8A71-59BD961BABBE",
        "bioText": "Hello, this is my Biography",
        "dateCreated": "2023-06-30T11:59:05.006421777Z",
        "firstName": "John",
        "lastName": "Doe",
        "dateOfRejection": "2023-06-30T11:59:05.006421777Z",
        "reasonOfRejection":""
    }
}

Delete User Biography

DELETE
DELETE /v1/users/{uuid}/biography/{biography_uuid}
💡
This request requires “PB-API-TOKEN” from the platforms.
Request
Empty
Response
200 OK if user biography is successfully deleted

List Unapproved User Images

GET
GET /v1/admin/pending_biographies
💡
This request requires “PB-API-TOKEN” from the platforms.

Query parameters

NameDescription
user_uuidLists unaproved user biographies by user uuid
Request
Empty
Response
{
    "totalRecords": "1",
    "results": [
        {
            "uuid": "0f1adebf-99c9-434a-af6a-c54fbf8c11c7",
            "userUuid": "BD49B56C-EAC9-4653-8A71-59BD961BABBE",
            "bioText": "",
            "dateCreated": "2023-07-24T10:40:14.686Z",
            "firstName": "John",
            "lastName": "Doe",
            "totalApprovals": 1,
            "dateOfRejection": "2023-06-30T11:59:05.006421777Z",
            "reasonOfRejection":""
        }
    ]
}