1
0
mirror of https://github.com/peeringdb/peeringdb.git synced 2024-05-11 05:55:09 +00:00
Files
peeringdb-peeringdb/docs/api/op_retrieve.md
Chris Caputo 2ca4eb96de api_specs 'irr_as_set' fix, deploy.md update (#854)
* api_specs: 'irr_as_set' is actually a string, not a set.

* Update deploy.md: ^python2.7^python3.7
2020-11-03 18:27:53 -06:00

404 B

Retrieve a single object

Depth

Nested sets will not be expanded (any field ending with the _set suffix, with the exception of 'irr_as_set') unless the 'depth' parameter is passed in the request URL.

Depth can be one of three values:

  • 1 : expand sets into ids (slow)
  • 2 : expand sets into objects (slower)
  • 0 : don't expand sets at all (default behaviour)

example

?depth=1