3 description: "serviceInventory API designed for ONAP Casablanca Release.\nThis API\
4 \ is build from TMF open API18.0 (applying TMF Guideline 3.0)\nonly operation\
5 \ GET (by id & byList) for resource serviceSpecification is available"
7 title: "API ServiceInventory"
10 backgroundColor: "#FFFFFF"
12 basePath: "/nbi/api/v3"
16 - "application/json;charset=utf-8"
26 - "application/json;charset=utf-8"
27 operationId: "serviceFind"
28 summary: "List services"
29 description: "This operation list service entities. \nAttribute selection is\
30 \ restricted. \nfields attribute may be used to filter retrieved attribute(s)\
31 \ for each service\n\nSpecific business errors for current operation will\
32 \ be encapsulated in\n\nHTTP Response 422 Unprocessable entity\n"
35 - name: "relatedParty.id"
40 - name: "serviceSpecification.id"
45 - name: "serviceSpecification.name"
62 description: "Success"
66 $ref: "#/definitions/ListService"
68 description: "Bad Request\n\nList of supported error codes:\n- 20: Invalid\
69 \ URL parameter value\n- 21: Missing body\n- 22: Invalid body\n- 23: Missing\
70 \ body field\n- 24: Invalid body field\n- 25: Missing header\n- 26: Invalid\
71 \ header value\n- 27: Missing query-string parameter\n- 28: Invalid query-string\
74 $ref: "#/definitions/ErrorRepresentation"
76 description: "Unauthorized\n\nList of supported error codes:\n- 40: Missing\
77 \ credentials\n- 41: Invalid credentials\n- 42: Expired credentials"
79 $ref: "#/definitions/ErrorRepresentation"
81 description: "Forbidden\n\nList of supported error codes:\n- 50: Access\
82 \ denied\n- 51: Forbidden requester\n- 52: Forbidden user\n- 53: Too many\
85 $ref: "#/definitions/ErrorRepresentation"
87 description: "Not Found\n\nList of supported error codes:\n- 60: Resource\
90 $ref: "#/definitions/ErrorRepresentation"
92 description: "Unprocessable entity\n\nFunctional error"
94 $ref: "#/definitions/ErrorRepresentation"
96 description: "Internal Server Error\n\nList of supported error codes:\n\
99 $ref: "#/definitions/ErrorRepresentation"
101 description: "Service Unavailable\n\nList of supported error codes:\n- 5:\
102 \ The service is temporarily unavailable\n- 6: Orange API is over capacity,\
105 $ref: "#/definitions/ErrorRepresentation"
111 - "application/json;charset=utf-8"
112 operationId: "serviceGet"
113 summary: "Retrieve a service"
114 description: "This operation retrieves a service entity. \nAttribute selection\
115 \ is enabled for all first level attributes.\n\nSpecific business errors for\
116 \ current operation will be encapsulated in\n\nHTTP Response 422 Unprocessable\
125 - name: "relatedParty.id"
130 - name: "serviceSpecification.id"
135 - name: "serviceSpecification.name"
142 description: "Success"
144 $ref: "#/definitions/Service"
146 description: "Bad Request\n\nList of supported error codes:\n- 20: Invalid\
147 \ URL parameter value\n- 21: Missing body\n- 22: Invalid body\n- 23: Missing\
148 \ body field\n- 24: Invalid body field\n- 25: Missing header\n- 26: Invalid\
149 \ header value\n- 27: Missing query-string parameter\n- 28: Invalid query-string\
152 $ref: "#/definitions/ErrorRepresentation"
154 description: "Unauthorized\n\nList of supported error codes:\n- 40: Missing\
155 \ credentials\n- 41: Invalid credentials\n- 42: Expired credentials"
157 $ref: "#/definitions/ErrorRepresentation"
159 description: "Forbidden\n\nList of supported error codes:\n- 50: Access\
160 \ denied\n- 51: Forbidden requester\n- 52: Forbidden user\n- 53: Too many\
163 $ref: "#/definitions/ErrorRepresentation"
165 description: "Not Found\n\nList of supported error codes:\n- 60: Resource\
168 $ref: "#/definitions/ErrorRepresentation"
170 description: "Unprocessable entity\n\nFunctional error"
172 $ref: "#/definitions/ErrorRepresentation"
174 description: "Internal Server Error\n\nList of supported error codes:\n\
177 $ref: "#/definitions/ErrorRepresentation"
179 description: "Service Unavailable\n\nList of supported error codes:\n- 5:\
180 \ The service is temporarily unavailable\n- 6: Orange API is over capacity,\
183 $ref: "#/definitions/ErrorRepresentation"
186 description: "This class is used to describe error.\nfor nbi Beijing release we\
187 \ do not manage additional error for serviceCatalog"
194 description: "Application related code (as defined in the API or from a common\
199 description: "Text that explains the reason for error. This can be shown to\
203 description: "Text that provide more details and corrective actions related\
204 \ to the error. This can be shown to a client user."
207 description: "http error code extension like 400-2"
210 description: "url pointing to documentation describing the error"
213 description: "The class type of a REST resource."
216 description: "it provides a link to the schema describing a REST resource."
219 description: "Instantiated service (service_instance) in AAI"
223 description: "Unique identifier of the service - Valued with service-instance-id"
226 description: "Reference of the service\nNot managed in Beijing release"
229 description: "Name of the service - Valued with service-instance-name"
232 description: "Service type - valued with 'service-instance'"
235 description: "State of the service. Not managed in Beijing release"
238 description: "This is a Boolean attribute that, if TRUE, signifies that this\
239 \ Service has already been started. If the value of this attribute is FALSE,\
240 \ then this signifies that this Service has NOT been Started\nNot managed\
241 \ in Beijing release"
244 description: "This attribute allows to dynamically extends TMF class. Not\
245 \ used in Beijing release."
248 description: "Not managed in Beijing release"
251 description: "Not managed in Beijing release"
253 serviceSpecification:
254 $ref: "#/definitions/ServiceSpecificationRef"
258 $ref: "#/definitions/ServiceCharacteristic"
262 $ref: "#/definitions/SupportingResource"
266 $ref: "#/definitions/RelatedPartyRef"
267 ServiceSpecificationRef:
268 description: "Service specification reference: ServiceSpecification of this service\
269 \ (catalog information)"
273 description: "Unique identifier of the service specification. valued to model-version-id"
276 description: "Reference of the service specification.\nnot managed in Beijing\
280 description: "Name of the required service specification"
283 description: "Service specification version.\nNot managed in Beijing release"
286 description: "This attribute allows to dynamically extends TMF class. Valued\
287 \ with 'ONAPservice'. We used this features to add following attribute:\
291 description: "Not managed in Beijing release"
294 description: "Additional attribute (not in the TMF API) - extended through\
295 \ @referredType - model-invariant-id"
297 ServiceCharacteristic:
298 description: "A list of name value pairs that define the service characteristics\n\
299 Not managed in Beijing release."
305 description: "Name of the characteristic\nNot managed in Beijing release."
308 description: "Type of value for this characteristic.\nNot managed in Beijing\
312 $ref: "#/definitions/Value"
314 description: "Supporting resource - A supportingResource will be retrieved for\
315 \ each relationship of the relationship-list where related-link describe a vnf"
319 description: "Unique identifier of the supporting resource - Valued to vnf-id"
322 description: "Reference of the supporting resource"
325 description: "Not managed in Beijing release."
328 description: "Name of the supporting resource - Valued with vnf_-name"
331 description: "This attribute allows to dynamically extends TMF class. Valued\
332 \ with 'ONAP resource'. We used this features to add following attributes:\n\
333 \ status\t\n modelInvariantId\n modelVersionId\n modelCustomisationId"
336 description: "Not managed in Beijing release."
339 description: "Additional attribute (not in the TMF API) - extended through\
340 \ @referredType - valued with prov-status"
343 description: "Additional attribute (not in the TMF API) - extended through\
344 \ @referredType - valued with model-invariant-id"
347 description: "Additional attribute (not in the TMF API) - extended through\
348 \ @referredType - valued with model-verson-id"
350 modelCustomisationId:
351 description: "Additional attribute (not in the TMF API) - extended through\
352 \ @referredType - valued with model-customisation-id"
355 description: "RelatedParty reference. A related party defines party or party role\
356 \ linked to a specific entity.\nOnly ONAP Customer is managed in Beijing release."
360 description: "Unique identifier of a related party"
363 description: "Reference of a related party.\nNot filled in Beijing release."
366 description: "Role played by the related party.\nFilled with 'ONAPcustomer'"
369 description: "Not managed in the Beijing release."
372 description: "Structure used to describe characteristic value.\nNot managed in\
377 description: "Not managed in Beijing release."
380 description: "Not managed in Beijing release."
382 serviceCharacteristicValue:
383 description: "Not managed in Beijing release."
386 description: "This class is used to structure list of service(s) retrieved"
390 description: "Unique identifier of a related party"
393 description: "Role played by the related party - only role “ONAPcustomer”\
394 \ is managed in Beijing release."
396 ListServiceSpecificationRef:
397 description: "This class is used to structure list of service(s) retrieved"
401 description: "Unique identifier of the service specification"
404 description: "Name of the required service specification"
407 description: "This class is used to structure list of service(s) retrieved"
411 description: "Unique identifier of the service"
414 description: "Name of the service"
416 serviceSpecification:
417 $ref: "#/definitions/ListServiceSpecificationRef"
419 $ref: "#/definitions/ListRelatedPartyRef"