{
  "info": {
    "name": "Northstar Developer API",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.northstar.example/v1"
    },
    {
      "key": "apiToken",
      "value": ""
    }
  ],
  "item": [
    {
      "name": "List your team workspaces",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "Authorization",
            "value": "Bearer {{apiToken}}"
          }
        ],
        "url": "{{baseUrl}}/workspaces?limit=12&plan=team",
        "description": "Returns a bounded list of the caller’s accessible workspaces. This fictional contract uses a limit and optional plan filter."
      }
    },
    {
      "name": "Create a named workspace",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Authorization",
            "value": "Bearer {{apiToken}}"
          },
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": "{{baseUrl}}/workspaces",
        "description": "Creates one workspace for the caller. This is a mutating request example; the reference never executes it.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"name\": \"River Launch\",\n  \"plan\": \"team\"\n}\n",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "Inspect a workspace",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "Authorization",
            "value": "Bearer {{apiToken}}"
          }
        ],
        "url": "{{baseUrl}}/workspaces/wk_river_01",
        "description": "Read its name, plan and member count. Private access is determined by the actual service, outside this documentation generator."
      }
    },
    {
      "name": "Rename a workspace",
      "request": {
        "method": "PATCH",
        "header": [
          {
            "key": "Authorization",
            "value": "Bearer {{apiToken}}"
          },
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": "{{baseUrl}}/workspaces/wk_river_01",
        "description": "Updates the workspace name. Review permissions and the intended mutation before running a downloaded example.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"name\": \"River Launch / Review\"\n}\n",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "Remove a workspace",
      "request": {
        "method": "DELETE",
        "header": [
          {
            "key": "Authorization",
            "value": "Bearer {{apiToken}}"
          }
        ],
        "url": "{{baseUrl}}/workspaces/wk_river_01",
        "description": "A destructive request example requiring an explicit decision in the real service. No deletion occurs in this studio."
      }
    },
    {
      "name": "Read recent activity",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "Authorization",
            "value": "Bearer {{apiToken}}"
          }
        ],
        "url": "{{baseUrl}}/workspaces/wk_river_01/activity",
        "description": "Returns authored workspace activity records from this fictional interface."
      }
    },
    {
      "name": "Check service health",
      "request": {
        "method": "GET",
        "header": [],
        "url": "{{baseUrl}}/health",
        "description": "A public health contract with a simple status response."
      }
    }
  ]
}
