API Platform Base Path: https://api.enterprise.apigee.com/v1/o/{org_name}
API Resource Path: /apis/{api_name}
Use the POST method to update a specific API proxy in an organization
Updates the API using the information included in the request. Only the information to be updated needs to be included. In this example, we add a description to the API proxy using the PUT method.
Sample Request:$ curl -H "Content-type:application/json" -X PUT -d \
'{"description":"My new API"}' \
-u myname:mypass https://api.enterprise.apigee.com/apis/{api_name}
Sample Response:
{
"configurationVersion" : {
"majorVersion" : 4,
"minorVersion" : 0
},
"contextInfo" : "Revision 1 of application myAPI, in organization apiProvider",
"createdAt" : 1343841147364,
"createdBy" : "andrew@apigee.com",
"description" : "My new API",
"lastModifiedAt" : 1343841582954,
"lastModifiedBy" : "andrew@apigee.com",
"name" : "weatherTest2",
"policies" : [ ],
"proxyEndpoints" : [ ],
"resources" : [ ],
"revision" : "1",
"targetEndpoints" : [ ],
"targetServers" : [ ],
"type" : "Application"
}
Last updated:
about 1 month ago