Tema anterior: Get a Provider by UUID

Tema siguiente: Create a Provider

Get All Services by Provider UUID

This web service lists all the services associated to the specified provider UUID.

HTTP Type

GET

Restriction

Limited. Open to all public users with the following limitation:

This web service only lists services approved by the Cloud Commons Consortium. Services created by the user making the request are also listed, even if the service has not been approved.

URI

{type}/SMI/{version}/provider/{providerUUID}/service

Parameter

Description

{providerUUID}

UUID of the category to query.

&key

The API Key that is provided when your application has been registered.

&secret

The Shared Secret that is provided when your application has been registered.

&page

Defines the page number to display.

&rows

Defines the number of records to display per page.

&sort

Valid values for this web service are: “name”, "createdOn", and "score". If not defined, no sorting is performed.

Example:

The following URI displays all the services currently provided by "Google" that are stored in the SMI DB.

https://smi.cloudcommons.com:8443/Insight_API/json/SMI/0.5/provider/50fc741c-5447-11df-823a-8f98fa01fa88/service?key=df3936ec01c5d3adf9f0048116cd5b84&secret=13f6232ebf484e57103cd4ac234a22aa

Sample output of successful execution:

{
"result":
	{
	"returnCode": "0",
	"errorMessage": "Operation Successful.",
	"resultCount": 3,
	"Bean-List": {
		"ResourceService-Bean":[
			{ "uuid": "9ae63465-13e4-4641-92e7-7cc5304fb5b7", "name": "Gmail", "description": "service_name from survey", "provider": "Google", "providerUUID": "50fc741c-5447-11df-823a-8f98fa01fa88", "categoryName": "E-mail", "naturalScore": "47", "group": "null", "label": "null", "createdOn": "2011-03-23 16:38:45.0", "needsApproval": "No", "createdBy": "SMIGLOBAL" },
			{ "uuid": "a04c6418-8bc8-4db5-9ae1-c12e206e48dc", "name": "Expresso", "description": "service_name from survey", "provider": "Google", "providerUUID": "50fc741c-5447-11df-823a-8f98fa01fa88", "categoryName": "E-mail", "naturalScore": "52", "group": "null", "label": "null", "createdOn": "2011-03-23 16:38:45.0", "needsApproval": "No", "createdBy": "SMIGLOBAL" },
			{ "uuid": "c46b8e94-28ab-4f4f-8549-4d2e03fbe86c", "name": "AppEngine", "description": "service_name from survey", "provider": "Google", "providerUUID": "50fc741c-5447-11df-823a-8f98fa01fa88", "categoryName": "Compute", "naturalScore": "49", "group": "null", "label": "null", "createdOn": "2011-03-23 16:38:45.0", "needsApproval": "No", "createdBy": "SMIGLOBAL" }
					]
		     }
	}
}