mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-22 12:06:53 -06:00
Markdown fixes
This commit is contained in:
parent
04e09c0078
commit
007fe6a030
@ -24,7 +24,7 @@ $ curl -H "Accept: application/json; indent=4" http://localhost/api/dcim/sites/
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
However, if the `[LOGIN_REQUIRED](../configuration/optional-settings/#login_required)` configuration setting has been set to `True`, all requests must be authenticated.
|
However, if the [`LOGIN_REQUIRED`](../configuration/optional-settings/#login_required) configuration setting has been set to `True`, all requests must be authenticated.
|
||||||
|
|
||||||
```
|
```
|
||||||
$ curl -H "Accept: application/json; indent=4" http://localhost/api/dcim/sites/
|
$ curl -H "Accept: application/json; indent=4" http://localhost/api/dcim/sites/
|
||||||
|
@ -120,7 +120,7 @@ Vary: Accept
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
The default page size derives from the `[PAGINATE_COUNT](../configuration/optional-settings/#paginate_count)` configuration setting, which defaults to 50. However, this can be overridden per request by specifying the desired `offset` and `limit` query parameters. For example, if you wish to retrieve a hundred devices at a time, you would make a request for:
|
The default page size derives from the [`PAGINATE_COUNT`](../configuration/optional-settings/#paginate_count) configuration setting, which defaults to 50. However, this can be overridden per request by specifying the desired `offset` and `limit` query parameters. For example, if you wish to retrieve a hundred devices at a time, you would make a request for:
|
||||||
|
|
||||||
```
|
```
|
||||||
http://localhost:8000/api/dcim/devices/?limit=100
|
http://localhost:8000/api/dcim/devices/?limit=100
|
||||||
|
Loading…
Reference in New Issue
Block a user