{
    "variable": [
        {
            "id": "baseUrl",
            "key": "baseUrl",
            "type": "string",
            "name": "string",
            "value": "http:\/\/localhost"
        }
    ],
    "info": {
        "name": "Go Links API Documentation",
        "_postman_id": "6c94fabe-0f9a-46f2-bc60-02d71016b113",
        "description": "GoLinks API - Manage your Go Links, tags, and permissions programmatically.",
        "schema": "https:\/\/schema.getpostman.com\/json\/collection\/v2.1.0\/collection.json"
    },
    "item": [
        {
            "name": "Links",
            "description": "\nAPIs for managing Go Links",
            "item": [
                {
                    "name": "Get Links",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/links",
                            "query": [
                                {
                                    "key": "page",
                                    "value": "1",
                                    "description": "Page number for pagination.",
                                    "disabled": false
                                },
                                {
                                    "key": "per_page",
                                    "value": "15",
                                    "description": "Number of results per page (max 100).",
                                    "disabled": false
                                },
                                {
                                    "key": "filter%5Bowned%5D",
                                    "value": "1",
                                    "description": "Filter to only show owned links.",
                                    "disabled": false
                                },
                                {
                                    "key": "filter%5Bshared%5D",
                                    "value": "",
                                    "description": "Filter to only show shared links.",
                                    "disabled": true
                                },
                                {
                                    "key": "filter%5Benabled%5D",
                                    "value": "1",
                                    "description": "Filter by enabled status.",
                                    "disabled": false
                                },
                                {
                                    "key": "filter%5Btag%5D",
                                    "value": "important",
                                    "description": "Filter by tag label.",
                                    "disabled": false
                                },
                                {
                                    "key": "filter%5Bsearch%5D",
                                    "value": "example",
                                    "description": "Search in link strings and target URLs.",
                                    "disabled": false
                                },
                                {
                                    "key": "sort",
                                    "value": "hit_count",
                                    "description": "Sort field (string, target_url, created_at, hit_count). Default: created_at.",
                                    "disabled": false
                                },
                                {
                                    "key": "order",
                                    "value": "desc",
                                    "description": "Sort order (asc, desc). Default: desc.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v2\/links?page=1&per_page=15&filter%5Bowned%5D=1&filter%5Bshared%5D=&filter%5Benabled%5D=1&filter%5Btag%5D=important&filter%5Bsearch%5D=example&sort=hit_count&order=desc"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"per_page\":1,\"filter\":{\"owned\":false,\"shared\":true,\"enabled\":true,\"tag\":\"architecto\",\"search\":\"architecto\"}}"
                        },
                        "description": "Retrieve all links accessible to the authenticated user.\nThis includes links owned by the user and links shared with them."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n  \"data\": [\n    {\n      \"id\": 1,\n      \"string\": \"example\",\n      \"target_url\": \"https:\/\/example.com\",\n      \"enabled\": true,\n      \"hit_count\": 42,\n      \"http_status_code\": 200,\n      \"last_status_check_at\": \"2025-11-21 10:30:00\",\n      \"exclude_from_status_check\": false,\n      \"created_at\": \"2025-11-01T12:00:00.000000Z\",\n      \"updated_at\": \"2025-11-21T10:30:00.000000Z\",\n      \"owner\": {\n        \"id\": 1,\n        \"name\": \"John Doe\",\n        \"unity_id\": \"jdoe\"\n      },\n      \"tags\": [\n        {\n          \"id\": 1,\n          \"label\": \"important\",\n          \"name\": \"important\"\n        }\n      ],\n      \"is_owner\": true,\n      \"is_shared\": false\n    }\n  ],\n  \"meta\": {\n    \"current_page\": 1,\n    \"per_page\": 15,\n    \"total\": 42,\n    \"last_page\": 3\n  }\n}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 401,
                            "body": "{\n  \"message\": \"Unauthenticated.\"\n}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Create Link",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/links",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/links"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"string\":\"my-link\",\"target_url\":\"https:\\\/\\\/example.com\",\"enabled\":true,\"exclude_from_status_check\":false,\"tag_id\":1,\"share_with\":\"jdoe\"}"
                        },
                        "description": "Create a new Go Link. If no custom string is provided, a random 7-character string will be generated.\nUsers need the appropriate permissions to create random or custom links."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\n  \"id\": 1,\n  \"string\": \"my-link\",\n  \"target_url\": \"https:\/\/example.com\",\n  \"enabled\": true,\n  \"hit_count\": 0,\n  \"http_status_code\": null,\n  \"last_status_check_at\": null,\n  \"exclude_from_status_check\": false,\n  \"created_at\": \"2025-11-21T12:00:00.000000Z\",\n  \"updated_at\": \"2025-11-21T12:00:00.000000Z\",\n  \"owner\": {\n    \"id\": 1,\n    \"name\": \"John Doe\",\n    \"unity_id\": \"jdoe\"\n  },\n  \"tags\": [\n    {\n      \"id\": 1,\n      \"label\": \"important\",\n      \"name\": \"important\"\n    }\n  ]\n}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\n  \"message\": \"You do not have permission to create custom links.\"\n}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\n  \"message\": \"The given data was invalid.\",\n  \"errors\": {\n    \"string\": [\"That Go Link (my-link) has already been taken!\"],\n    \"target_url\": [\"The target url field is required.\"]\n  }\n}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Bulk Update Links",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/links\/bulk-update",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/links\/bulk-update"
                        },
                        "method": "PATCH",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"links\":[{\"string\":\"my-link\",\"target_url\":\"https:\\\/\\\/example.com\\\/new\"}]}"
                        },
                        "description": "Update the target URL for multiple links in a single request.\nEach link is independently authorized \u2014 you must have manage permissions for each link.\nLinks you cannot manage or that do not exist will be returned in the errors array."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n  \"updated\": [\n    {\n      \"string\": \"my-link\",\n      \"target_url\": \"https:\/\/example.com\/new\"\n    }\n  ],\n  \"errors\": [\n    {\n      \"string\": \"bad-link\",\n      \"error\": \"Link not found\"\n    },\n    {\n      \"string\": \"other-link\",\n      \"error\": \"Unauthorized\"\n    }\n  ]\n}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\n  \"message\": \"The given data was invalid.\",\n  \"errors\": {\n    \"links.0.target_url\": [\"Please include http:\/\/ or https:\/\/\"]\n  }\n}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Get Link",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/links\/:string",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/links\/:string",
                            "variable": [
                                {
                                    "id": "string",
                                    "key": "string",
                                    "value": "my-link",
                                    "description": "The link string."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Retrieve a specific link by its string identifier."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n  \"id\": 1,\n  \"string\": \"my-link\",\n  \"target_url\": \"https:\/\/example.com\",\n  \"enabled\": true,\n  \"hit_count\": 42,\n  \"http_status_code\": 200,\n  \"last_status_check_at\": \"2025-11-21 10:30:00\",\n  \"exclude_from_status_check\": false,\n  \"created_at\": \"2025-11-01T12:00:00.000000Z\",\n  \"updated_at\": \"2025-11-21T10:30:00.000000Z\",\n  \"owner\": {\n    \"id\": 1,\n    \"name\": \"John Doe\",\n    \"unity_id\": \"jdoe\"\n  },\n  \"tags\": [\n    {\n      \"id\": 1,\n      \"label\": \"important\",\n      \"name\": \"important\"\n    }\n  ],\n  \"rules\": [\n    {\n      \"id\": 1,\n      \"value\": \"admins@ncsu.edu\",\n      \"created_at\": \"2025-11-01T12:00:00.000000Z\",\n      \"updated_at\": \"2025-11-01T12:00:00.000000Z\"\n    },\n    {\n      \"id\": 2,\n      \"value\": \"jsmith@ncsu.edu\",\n      \"created_at\": \"2025-11-02T14:30:00.000000Z\",\n      \"updated_at\": \"2025-11-02T14:30:00.000000Z\"\n    }\n  ]\n}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\n  \"message\": \"You do not have permission to view this link.\"\n}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\n  \"message\": \"Link not found.\"\n}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Update Link",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/links\/:string",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/links\/:string",
                            "variable": [
                                {
                                    "id": "string",
                                    "key": "string",
                                    "value": "my-link",
                                    "description": "The link string."
                                }
                            ]
                        },
                        "method": "PATCH",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"target_url\":\"https:\\\/\\\/newexample.com\",\"enabled\":false,\"exclude_from_status_check\":true}"
                        },
                        "description": "Update an existing link. You must be the owner or have manage permissions."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n  \"id\": 1,\n  \"string\": \"my-link\",\n  \"target_url\": \"https:\/\/newexample.com\",\n  \"enabled\": false,\n  \"hit_count\": 42,\n  \"http_status_code\": 200,\n  \"last_status_check_at\": \"2025-11-21 10:30:00\",\n  \"exclude_from_status_check\": true,\n  \"created_at\": \"2025-11-01T12:00:00.000000Z\",\n  \"updated_at\": \"2025-11-21T12:30:00.000000Z\",\n  \"owner\": {\n    \"id\": 1,\n    \"name\": \"John Doe\",\n    \"unity_id\": \"jdoe\"\n  },\n  \"tags\": []\n}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\n  \"message\": \"You do not have permission to update this link.\"\n}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\n  \"message\": \"Link not found.\"\n}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Delete Link",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/links\/:string",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/links\/:string",
                            "variable": [
                                {
                                    "id": "string",
                                    "key": "string",
                                    "value": "my-link",
                                    "description": "The link string."
                                }
                            ]
                        },
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Delete a link. You must be the owner of the link to delete it."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n  \"message\": \"Link deleted successfully.\"\n}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\n  \"message\": \"You do not have permission to delete this link. Only the owner can delete links.\"\n}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\n  \"message\": \"Link not found.\"\n}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Transfer Link",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/links\/:string\/transfer",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/links\/:string\/transfer",
                            "variable": [
                                {
                                    "id": "string",
                                    "key": "string",
                                    "value": "my-link",
                                    "description": "The link string."
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"new_owner_unity_id\":\"jsmith\"}"
                        },
                        "description": "Transfer ownership of a link to another user. You must be the owner of the link."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n  \"message\": \"Link transferred successfully.\",\n  \"link\": {\n    \"id\": 1,\n    \"string\": \"my-link\",\n    \"target_url\": \"https:\/\/example.com\",\n    \"owner\": {\n      \"id\": 2,\n      \"name\": \"Jane Smith\",\n      \"unity_id\": \"jsmith\"\n    }\n  }\n}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\n  \"message\": \"You do not have permission to transfer this link. Only the owner can transfer links.\"\n}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\n  \"message\": \"Link not found.\"\n}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\n  \"message\": \"The given data was invalid.\",\n  \"errors\": {\n    \"new_owner_unity_id\": [\"User not found.\"]\n  }\n}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Attach Tag to Link",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/links\/:string\/tags",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/links\/:string\/tags",
                            "variable": [
                                {
                                    "id": "string",
                                    "key": "string",
                                    "value": "my-link",
                                    "description": "The link string."
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"tag_id\":1}"
                        },
                        "description": "Attach a tag to a link. You must have manage permissions for both the link and the tag."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n  \"message\": \"Tag attached successfully.\",\n  \"link\": {\n    \"id\": 1,\n    \"string\": \"my-link\",\n    \"tags\": [\n      {\n        \"id\": 1,\n        \"label\": \"important\",\n        \"name\": \"important\"\n      }\n    ]\n  }\n}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\n  \"message\": \"You do not have permission to manage this link or tag.\"\n}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\n  \"message\": \"Link not found.\"\n}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\n  \"message\": \"The given data was invalid.\",\n  \"errors\": {\n    \"tag_id\": [\"The tag id field is required.\"]\n  }\n}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Detach Tag from Link",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/links\/:string\/tags\/:tag",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/links\/:string\/tags\/:tag",
                            "variable": [
                                {
                                    "id": "string",
                                    "key": "string",
                                    "value": "my-link",
                                    "description": "The link string."
                                },
                                {
                                    "id": "tag",
                                    "key": "tag",
                                    "value": "1",
                                    "description": "The tag ID to detach."
                                }
                            ]
                        },
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Remove a tag from a link. You must have manage permissions for the link."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n  \"message\": \"Tag detached successfully.\",\n  \"link\": {\n    \"id\": 1,\n    \"string\": \"my-link\",\n    \"tags\": []\n  }\n}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\n  \"message\": \"You do not have permission to manage this link.\"\n}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\n  \"message\": \"Link not found.\"\n}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Tags",
            "description": "\nAPIs for managing tags",
            "item": [
                {
                    "name": "Get Tags",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/tags",
                            "query": [
                                {
                                    "key": "page",
                                    "value": "1",
                                    "description": "Page number for pagination.",
                                    "disabled": false
                                },
                                {
                                    "key": "per_page",
                                    "value": "15",
                                    "description": "Number of results per page (max 100).",
                                    "disabled": false
                                },
                                {
                                    "key": "filter%5Bsearch%5D",
                                    "value": "project",
                                    "description": "Search in tag labels.",
                                    "disabled": false
                                },
                                {
                                    "key": "sort",
                                    "value": "label",
                                    "description": "Sort field (label, created_at, updated_at). Default: label.",
                                    "disabled": false
                                },
                                {
                                    "key": "order",
                                    "value": "asc",
                                    "description": "Sort order (asc, desc). Default: asc.",
                                    "disabled": false
                                },
                                {
                                    "key": "include_counts",
                                    "value": "1",
                                    "description": "Include link counts and hit totals for each tag. Default: false.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v2\/tags?page=1&per_page=15&filter%5Bsearch%5D=project&sort=label&order=asc&include_counts=1"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"per_page\":1,\"filter\":{\"search\":\"architecto\"},\"include_counts\":false}"
                        },
                        "description": "Retrieve all tags owned by the authenticated user."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n  \"data\": [\n    {\n      \"id\": 1,\n      \"label\": \"important\",\n      \"name\": \"important\",\n      \"created_at\": \"2025-11-01T12:00:00.000000Z\",\n      \"updated_at\": \"2025-11-01T12:00:00.000000Z\",\n      \"links_count\": 5,\n      \"hits\": 142\n    },\n    {\n      \"id\": 2,\n      \"label\": \"project-alpha\",\n      \"name\": \"project-alpha\",\n      \"created_at\": \"2025-11-02T10:00:00.000000Z\",\n      \"updated_at\": \"2025-11-02T10:00:00.000000Z\",\n      \"links_count\": 12,\n      \"hits\": 847\n    }\n  ],\n  \"meta\": {\n    \"current_page\": 1,\n    \"per_page\": 15,\n    \"total\": 2,\n    \"last_page\": 1\n  }\n}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 401,
                            "body": "{\n  \"message\": \"Unauthenticated.\"\n}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Create Tag",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/tags",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/tags"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"label\":\"My Project\"}"
                        },
                        "description": "Create a new tag for organizing your links."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\n  \"id\": 1,\n  \"label\": \"My Project\",\n  \"name\": \"my-project\",\n  \"user_id\": 1,\n  \"created_at\": \"2025-11-21T12:00:00.000000Z\",\n  \"updated_at\": \"2025-11-21T12:00:00.000000Z\"\n}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\n  \"message\": \"The given data was invalid.\",\n  \"errors\": {\n    \"label\": [\"The label field is required.\"]\n  }\n}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Get Tag",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/tags\/:id",
                            "query": [
                                {
                                    "key": "include_links",
                                    "value": "1",
                                    "description": "Include all links with this tag. Default: false.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v2\/tags\/:id?include_links=1",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "architecto",
                                    "description": "The ID of the tag."
                                },
                                {
                                    "id": "tag",
                                    "key": "tag",
                                    "value": "1",
                                    "description": "The tag ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Retrieve a specific tag by ID."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n  \"id\": 1,\n  \"label\": \"important\",\n  \"name\": \"important\",\n  \"user_id\": 1,\n  \"created_at\": \"2025-11-01T12:00:00.000000Z\",\n  \"updated_at\": \"2025-11-01T12:00:00.000000Z\",\n  \"links_count\": 5,\n  \"hits\": 142,\n  \"links\": [\n    {\n      \"id\": 1,\n      \"string\": \"example\",\n      \"target_url\": \"https:\/\/example.com\",\n      \"enabled\": true\n    }\n  ]\n}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\n  \"message\": \"You do not have permission to view this tag.\"\n}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\n  \"message\": \"Tag not found.\"\n}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Update Tag",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/tags\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/tags\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "architecto",
                                    "description": "The ID of the tag."
                                },
                                {
                                    "id": "tag",
                                    "key": "tag",
                                    "value": "1",
                                    "description": "The tag ID."
                                }
                            ]
                        },
                        "method": "PATCH",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"label\":\"Updated Project\"}"
                        },
                        "description": "Update a tag's label. You must be the owner of the tag."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n  \"id\": 1,\n  \"label\": \"Updated Project\",\n  \"name\": \"updated-project\",\n  \"user_id\": 1,\n  \"created_at\": \"2025-11-01T12:00:00.000000Z\",\n  \"updated_at\": \"2025-11-21T12:30:00.000000Z\"\n}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\n  \"message\": \"You do not have permission to update this tag.\"\n}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\n  \"message\": \"Tag not found.\"\n}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Delete Tag",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/tags\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/tags\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "architecto",
                                    "description": "The ID of the tag."
                                },
                                {
                                    "id": "tag",
                                    "key": "tag",
                                    "value": "1",
                                    "description": "The tag ID."
                                }
                            ]
                        },
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Delete a tag. This will automatically detach the tag from all associated links.\nYou must be the owner of the tag."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n  \"message\": \"Tag deleted successfully. The tag was removed from 5 link(s).\"\n}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\n  \"message\": \"You do not have permission to delete this tag.\"\n}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\n  \"message\": \"Tag not found.\"\n}",
                            "name": ""
                        }
                    ]
                }
            ]
        }
    ],
    "auth": {
        "type": "bearer",
        "bearer": [
            {
                "key": "Authorization",
                "type": "string"
            }
        ]
    }
}