Skip to content
Merged
Show file tree
Hide file tree
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
13 changes: 13 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
version: 2

build:
os: ubuntu-22.04
tools:
python: "2.7"

sphinx:
configuration: docs/conf.py

python:
install:
- requirements: requirements_docs.txt
1 change: 1 addition & 0 deletions docs/networkv4/url-api-v3-networkv4.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
url-api-v3-networkv4/post
url-api-v3-networkv4/put
url-api-v3-networkv4/delete
url-api-v3-networkv4/patch
37 changes: 37 additions & 0 deletions docs/networkv4/url-api-v3-networkv4/patch.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
PATCH
#####

.. _url-api-v3-networkv4-patch-partially-update-list-networkv4:

Partially updating list of Networkv4 in database
************************************************

URL::

/api/v3/networkv4/force/

Request body:

.. code-block:: json

{
"networks": [{
"id": [integer],
"active": [boolean]
},..]
}

Request Example:

.. code-block:: json

{
"networks": [{
"id": 1,
"active": false
}]
}

In Networkv4 PATCH request, you only need to specify the fields you want to change. For now, only **active** field can be changed.

* **active** - If not specified, Networkv4 will be the same as before. If specified, it will be updated with the new value.
1 change: 1 addition & 0 deletions docs/networkv6/url-api-v3-networkv6.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
url-api-v3-networkv6/post
url-api-v3-networkv6/put
url-api-v3-networkv6/delete
url-api-v3-networkv6/patch
37 changes: 37 additions & 0 deletions docs/networkv6/url-api-v3-networkv6/patch.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
PATCH
#####

.. _url-api-v3-networkv6-patch-partially-update-list-networkv6:

Partially updating list of Networkv6 in database
************************************************

URL::

/api/v3/networkv6/force/

Request body:

.. code-block:: json

{
"networks": [{
"id": [integer],
"active": [boolean]
},..]
}

Request Example:

.. code-block:: json

{
"networks": [{
"id": 1,
"active": false
}]
}

In Networkv6 PATCH request, you only need to specify the fields you want to change. For now, only **active** field can be changed.

* **active** - If not specified, Networkv6 will be the same as before. If specified, it will be updated with the new value.
Loading