Policy > Security > East West Security > Distributed Firewall > Settings > Drafts

List policy drafts

List policy drafts.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/drafts
Request Headers:
n/a
Query Parameters:
PolicyDraftListRequestParameters+
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/drafts

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
PolicyDraftListResult+

Example Response:

{ "results": [ { "is_auto_draft": false, "ref_draft_path": "/infra/drafts/1-5501ebb0-ab1a-4de4-bfa6-c4fa9414725e", "locked": false, "lock_modified_time": 0, "resource_type": "PolicyDraft", "id": "manual_draft", "display_name": "manual_draft", "path": "/infra/drafts/manual_draft", "relative_path": "manual_draft", "parent_path": "/infra", "unique_id": "218ccd6d-be56-432e-b52b-5d4361ca1059", "marked_for_delete": false, "overridden": false, "_create_user": "admin", "_create_time": 1607337481049, "_last_modified_user": "admin", "_last_modified_time": 1607337481050, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 }, { "is_auto_draft": true, "locked": false, "lock_modified_time": 0, "resource_type": "PolicyDraft", "id": "1-5501ebb0-ab1a-4de4-bfa6-c4fa9414725e", "display_name": "1-5501ebb0-ab1a-4de4-bfa6-c4fa9414725e", "path": "/infra/drafts/1-5501ebb0-ab1a-4de4-bfa6-c4fa9414725e", "relative_path": "1-5501ebb0-ab1a-4de4-bfa6-c4fa9414725e", "parent_path": "/infra", "unique_id": "8703dd3b-7978-48a5-ab94-10cc50848829", "marked_for_delete": false, "overridden": false, "_create_user": "admin", "_create_time": 1607333111465, "_last_modified_user": "admin", "_last_modified_time": 1607333111468, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 } ], "result_count": 2, "sort_by": "display_name", "sort_ascending": true }

Required Permissions:

read

Feature:

policy_dfw

Additional Errors: