Link Group

list

GET https://api.makeshorter.com/v1/linkgroup/list/:page

This endpoint gives all active link groups. Pagination allows to return only 50 items for each result.

Path Parameters

{
    "isSuccess": true,
    "message": "Success Message",
    "data": [
        {
            "id": "00000000-0000-0000-0000-000000000000",
            "name": "Link Group Name",
            "description": "Link Group Description"
        }
        ...
    ]
}

create

POST https://api.makeshorter.com/v1/linkgroup/create

This endpoint creates new link group and returns it

Request Body

{
    "isSuccess": true,
    "message": "Success Message",
    "data": 
        {
            "id": "00000000-0000-0000-0000-000000000000",
            "name": "Link Group Name",
            "description": "Link Group Description"
        }
}

update

POST https://api.makeshorter.com/v1/linkgroup/update

This endpoint update existing link group.

Request Body

{
    "isSuccess": true,
    "message": "Success Message",
    "data": 
        {
            "id": "00000000-0000-0000-0000-000000000000",
            "name": "Link Group New Name",
            "description": "Link Group New Description"
        }
}

delete

DELETE https://api.makeshorter.com/v1/linkgroup/:id

Path Parameters

{
    "isSuccess": true,
    "message": "Success Message",
    "data": null
}

Last updated