Files
Stefan Pratter 2e8788b595 Support 202210 (#1286)
* Allow REALPEER to overwrite GHOSTPEER netixlan entry, if asn and IPv6/v4 addresses matches the IX-F Members Export information #983

* Lightweight user notification mechanism #758

* do not allow affiliation with a deleted organisation #953

* Improve readability when users have special permissions #659

* fix advanced search export when api-cache exist and no filters were supplied #1153

* Ops: Throttle strings with "Response size" should be renamed "Repeated request" #1168

* allow ixlan prefix to be changed / deleted regardless of existence of netixlans in the address space #924

* linting

* poetry relock

* remove debug code

* linting

* fixed Reset IX-F suggestions link non-functional #1253

* solved UI shows own email when viewing affiliation requests for an organization #1250

* Adjust "Add Facility" menu to include newly defined fields #1091

* Footer "Global System Statistics" should be cached within django instance, not updated with every page load #1283

* linting

* django-handleref to 1.1.0 and relock poetry

* GLOBAL_STATS_CACHE_DURATION default to 900 seconds

* remove vscode and idea

* remove Ctl/dev/docker-compose.debug.yml

* remove unsused variable

* rename STATS to __STATS

* linting

* regen docs
2022-11-08 11:25:32 -06:00

60 lines
1.1 KiB
Markdown

Generated from data_views.py on 2022-11-08 14:31:50.933987
# peeringdb_server.data_views
This holds JSON views for various data sets.
These are needed for filling form-selects for editable
mode in UX.
# Functions
---
## asns
`def asns(request)`
Return a JSON response with a list of asns that the user's
organizations own to use for selecting asn in netixlan
creation.
---
## countries
`def countries(request)`
Return all valid countries and their country codes.
---
## countries_w_blank
`def countries_w_blank(request)`
Return all valid countries and their country codes with a blank field.
---
## facilities
`def facilities(request)`
Return all valid facilities with id and name.
---
## my_organizations
`def my_organizations(request)`
Return a JSON response with a list of organization names and ids
that the requesting user is a member of.
---
## organizations
`def organizations(request)`
Return a JSON response with a list of organization names and ids.
This is currently only used by the org-merge-tool which is only
available to site administrators.
---
## sponsorships
`def sponsorships(request)`
Return all sponsorships.
---