Skip to content

Commit a43b699

Browse files
committed
Updates for PTP events sub status codes
1 parent b9aed44 commit a43b699

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

modules/cnf-fast-event-notifications-api-reference-v2.adoc

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Returns a list of subscriptions. If subscriptions exist, a `200 OK` status code
6565
=== Description
6666

6767
Creates a new subscription for the required event by passing the appropriate payload.
68-
If a subscription is successfully created, or if it already exists, a `201 Created` status code is returned.
68+
6969
You can subscribe to the following PTP events:
7070

7171
* `sync-state` events
@@ -140,6 +140,27 @@ You can subscribe to the following PTP events:
140140
}
141141
----
142142

143+
The following subscription status events are possible:
144+
145+
.PTP events REST API v2 subscription status codes
146+
[cols="1,2", width="90%", options="header"]
147+
|====
148+
|Status code
149+
|Description
150+
151+
|`201 Created`
152+
|Indicates that the subscription is created
153+
154+
|`400 Bad Request`
155+
|Indicates that the server could not process the request because it was malformed or invalid
156+
157+
|`404 Not Found`
158+
|Indicates that the subscription resource is not available
159+
160+
|`409 Conflict`
161+
|Indicates that the subscription already exists
162+
|====
163+
143164
[discrete]
144165
=== HTTP method
145166

0 commit comments

Comments
 (0)