mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
website: fix curl example for registry API
This commit is contained in:
parent
8add05f6ee
commit
1a14ec8bd6
@ -70,7 +70,7 @@ These endpoints list modules according to some criteria.
|
|||||||
### Sample Request
|
### Sample Request
|
||||||
|
|
||||||
```text
|
```text
|
||||||
$ curl 'https://registry.terraform.io/v1/modules&limit=2&verified=true'
|
$ curl 'https://registry.terraform.io/v1/modules?limit=2&verified=true'
|
||||||
```
|
```
|
||||||
|
|
||||||
### Sample Response
|
### Sample Response
|
||||||
@ -752,4 +752,4 @@ Note that:
|
|||||||
- `prev_offset` will only be present if not at `offset = 0`.
|
- `prev_offset` will only be present if not at `offset = 0`.
|
||||||
- `limit` is the actual limit that was applied, it may be lower than the requested limit param.
|
- `limit` is the actual limit that was applied, it may be lower than the requested limit param.
|
||||||
- The key for the result array varies based on the endpoint and will be the
|
- The key for the result array varies based on the endpoint and will be the
|
||||||
type of result pluralized, for example `modules`.
|
type of result pluralized, for example `modules`.
|
||||||
|
Loading…
Reference in New Issue
Block a user