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

Read draft

Read a draft for a given draft identifier.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/drafts/<draft-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

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

Successful Response:

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

Example Response:

{ "is_auto_draft": true, "system_area": { "resource_type": "Infra", "id": "infra", "display_name": "infra", "path": "/infra", "children": [ { "children": [ { "SecurityPolicy": { "logging_enabled": false, "resource_type": "SecurityPolicy", "id": "app-section-1", "display_name": "app-section-1", "path": "/infra/domains/default/security-policies/app-section-1", "marked_for_delete": true, "overridden": false, "sequence_number": 1, "category": "Application", "stateful": true, "tcp_strict": true, "locked": false, "scope": [ "ANY" ], "is_default": false, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 }, "resource_type": "ChildSecurityPolicy", "marked_for_delete": true, "mark_for_override": false, "_protection": "NOT_PROTECTED" } ], "target_type": "Domain", "resource_type": "ChildResourceReference", "id": "default", "marked_for_delete": false, "mark_for_override": false, "_protection": "NOT_PROTECTED" } ], "marked_for_delete": false, "overridden": false, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 }, "locked": false, "lock_modified_time": 0, "resource_type": "PolicyDraft", "id": "test_draft", "display_name": "test_draft", "path": "/infra/drafts/test_draft", "relative_path": "test_draft", "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 }

Required Permissions:

read

Feature:

policy_dfw

Additional Errors: