|
30 | 30 | - [Service Instance Management](#service-instance-management) |
31 | 31 | - [Provisioning a Service Instance](#provisioning-a-service-instance) |
32 | 32 | - [Fetching a Service Instance](#fetching-a-service-instance) |
| 33 | + - [Fetching a Service Instance Parameters](#fetching-a-service-instance-parameters) |
33 | 34 | - [Listing Service Instances](#listing-service-instances) |
34 | 35 | - [Patching a Service Instance](#patching-a-service-instance) |
35 | 36 | - [Deleting a Service Instance](#deleting-a-service-instance) |
36 | 37 | - [Service Binding Management](#service-binding-management) |
37 | 38 | - [Creating a Service Binding](#creating-a-service-binding) |
38 | 39 | - [Fetching a Service Binding](#fetching-a-service-binding) |
| 40 | + - [Fetching a Service Binding Parameters](#fetching-a-service-binding-parameters) |
39 | 41 | - [Listing Service Bindings](#listing-service-bindings) |
40 | 42 | - [Patching a Service Binding](#patching-a-service-binding) |
41 | 43 | - [Deleting a Service Binding](#deleting-a-service-binding) |
@@ -979,6 +981,37 @@ The Service Manager MAY choose to provide cached data and not to [fetch the data |
979 | 981 | | usable | boolean | If the instance is `usable` or not (as per the OSB spec `instance_usable`) | |
980 | 982 | | ready | boolean | Whether the resource is ready or not. | |
981 | 983 |
|
| 984 | +### Fetching a Service Instance Parameters |
| 985 | + |
| 986 | +Service Manager fetches the data from the upstream broker. |
| 987 | + |
| 988 | +#### Route |
| 989 | + |
| 990 | +`GET /v1/service_instances/:service_instance_id/parameters` |
| 991 | + |
| 992 | +`:service_instance_id` MUST be the ID of a previously provisioned service instance. |
| 993 | +The instances_retrievable feature must be enabled for the service offering in broker catalog. |
| 994 | + |
| 995 | +#### Response Body |
| 996 | + |
| 997 | +##### Service Instance Parameters Object |
| 998 | + |
| 999 | +```json |
| 1000 | +{ |
| 1001 | + "param1":"value1", |
| 1002 | + "param2":"value2" |
| 1003 | +} |
| 1004 | +``` |
| 1005 | + |
| 1006 | +#### Response |
| 1007 | + |
| 1008 | +| Status Code | Description | |
| 1009 | +| ----------- | ----------- | |
| 1010 | +| 200 OK | MUST be returned if the request execution was successful. | |
| 1011 | +| 404 Not Found | MUST be returned if the requested resource is missing, the creation operation is still in progress, or if the user is not authorized to access this resource. | |
| 1012 | +| 400 Bad Request | MUST be returned if the broker doesn't support fetching of instances for this service offering or if request was sent with the value true for query param: async. (if the operation is asynchronous) | |
| 1013 | +| 502 Bad Gateway | MUST be returned if there was a failure to parse the parameters of the service instance returned from a broker. | |
| 1014 | + |
982 | 1015 | ### Listing Service Instances |
983 | 1016 |
|
984 | 1017 | Listing `service instances` MUST comply with [listing all resource entities of a resource type](#listing-all-resource-entities-of-a-resource-type). |
@@ -1132,6 +1165,36 @@ The Service Manager MAY choose to provide cached data and not to [fetch the data |
1132 | 1165 | | updated_at | string | The time of the last update [in ISO 8601 format](#data-formats). | |
1133 | 1166 | | ready | boolean | Whether the resource is ready or not. | |
1134 | 1167 |
|
| 1168 | +### Fetching a Service Binding Parameters |
| 1169 | + |
| 1170 | +Service Manager fetches the data from the upstream broker. |
| 1171 | + |
| 1172 | +#### Route |
| 1173 | + |
| 1174 | +`GET /v1/service_bindings/:service_binding_id/parameters` |
| 1175 | + |
| 1176 | +`:service_binding_id` MUST be the ID of a previously created service binding. |
| 1177 | +The bindings_retrievable feature must be enabled for the service offering in broker catalog. |
| 1178 | + |
| 1179 | +#### Response Body |
| 1180 | + |
| 1181 | +##### Service Binding Object |
| 1182 | + |
| 1183 | +```json |
| 1184 | +{ |
| 1185 | + "param1":"value1", |
| 1186 | + "param2":"value2" |
| 1187 | +} |
| 1188 | +``` |
| 1189 | +#### Response |
| 1190 | + |
| 1191 | +| Status Code | Description | |
| 1192 | +| ----------- | ----------- | |
| 1193 | +| 200 OK | MUST be returned if the request execution was successful. | |
| 1194 | +| 404 Not Found | MUST be returned if the requested resource is missing, if the creation operation is still in progress, or if the user is not authorized to access this resource. | |
| 1195 | +| 400 Bad Request | MUST be returned if the broker doesn't support fetching of bindings for this service offering or if request was sent with the value true for the query param: async. (if the operation is asynchronous). | |
| 1196 | +| 502 Bad Gateway | MUST be returned if there was a failure to parse the parameters of the service binding returned from a broker. | |
| 1197 | + |
1135 | 1198 | ### Listing Service Bindings |
1136 | 1199 |
|
1137 | 1200 | Listing `service bindings` MUST comply with [listing all resource entities of a resource type](#listing-all-resource-entities-of-a-resource-type). |
|
0 commit comments