{ "operationId": "put-version-resource", "method": "PUT", "path": "/endpoints/{apiEndPointId}/versions/{versionNumber}/resources/{apiResourceId}", "summary": "Edit a resource", "requestExamples": [ { "contentType": "application/json", "example": { "apiResourceClonedFromId": null, "apiResourceId": 2935139, "apiResourceLogicId": 126269, "apiResourceName": "magazine", "createDate": "2019-06-17T08:26:59+0000", "createdBy": "alfulani", "description": "A magazine item within the bookstore API.", "link": null, "lockVersion": 0, "private": false, "resourcePath": "/magazine/{magazineId}", "updateDate": "2019-06-17T08:26:59+0000", "updatedBy": "bookstore_admin", "apiResourceMethods": [ { "apiResourceMethod": "GET", "apiResourceMethodId": 365559, "apiResourceMethodLogicId": 205820, "apiParameters": [ { "apiParamLogicId": 588309, "apiParameterId": 1223250, "apiParameterLocation": "path", "apiParameterName": "magazineId", "apiParameterNotes": null, "apiParameterRequired": true, "apiParameterRestriction": null, "apiParameterType": "string", "apiResourceMethParamId": 500315, "array": false, "pathParamLocationId": null, "apiChildParameters": [] } ] } ] } } ], "responseExamples": [ { "status": "200", "contentType": "application/json", "example": { "apiResourceClonedFromId": null, "apiResourceId": 2935139, "apiResourceLogicId": 126269, "apiResourceName": "magazine", "createDate": "2019-06-17T08:26:59+0000", "createdBy": "adevi", "description": "A magazine item within the bookstore API.", "link": null, "lockVersion": 0, "private": false, "resourcePath": "/magazine/{magazineId}", "updateDate": "2019-06-17T08:26:59+0000", "updatedBy": "bookstore_admin", "apiResourceMethods": [ { "apiResourceMethod": "GET", "apiResourceMethodId": 365559, "apiResourceMethodLogicId": 205820, "apiParameters": [ { "apiParamLogicId": 588309, "apiParameterId": 1223250, "apiParameterLocation": "path", "apiParameterName": "magazineId", "apiParameterNotes": null, "apiParameterRequired": true, "apiParameterRestriction": null, "apiParameterType": "string", "apiResourceMethParamId": 500315, "array": false, "pathParamLocationId": null, "apiChildParameters": [] } ] } ] } } ] }