Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix incorrect query param in deployment logs endpoint docs #13620

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions content/docs/pulumi-cloud/deployments/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1180,7 +1180,7 @@ The `token` is a string that contains the `job`, `offset` and `step` of the next

The following query parameters are available:

* **nextToken**: A string returned by the previous response, that can be used to get the next set of logs.
* **continuationToken**: The `nextToken` value from the previous response, that can be used to get the next set of logs.

##### Example

Expand Down Expand Up @@ -1230,12 +1230,12 @@ Response
}
```

Following request (using `nextToken`)
Following request (using the returned `nextToken`)

```shell
curl -XGET -H "Content-Type: application/json" \
-H "Authorization: token $PULUMI_ACCESS_TOKEN" \
--location "https://api.pulumi.com/api/stacks/my-org/aws-ts-s3-folder/dev/deployments/6b1ec06b-4f41-4cce-a7c9-13ceded14db2/logs?nextToken=0.2.1"
--location "https://api.pulumi.com/api/stacks/my-org/aws-ts-s3-folder/dev/deployments/6b1ec06b-4f41-4cce-a7c9-13ceded14db2/logs?continuationToken=0.2.1"
```

Response
Expand Down
Loading