DevOps Edition for Continuous Integration 10.5 | Service Development Help | Working with REST | Configuring a REST V2 Resource | Creating a REST V2 Resource | Supporting Elements for a REST V2 Resource
 
Supporting Elements for a REST V2 Resource
When Designer creates a new REST V2 resource, it automatically creates all the corresponding folders to store documents and services related to the REST V2 resource.
Folder structure for a REST V2 resource
REST V2 resource element
Description
ResourceName_
Contains the relevant documents under docTypes folder and services under services folder for the REST V2 resource.
docTypes
Contains all the automatically generated document types corresponding to the REST V2 resource. These document types contain the resource definition of a REST V2 resource and can be used while creating a REST V2 resource so that Designer can automatically add these properties to the resource.
services
Contains automatically generated services for the JSON API compliant REST V2 resource. Each service corresponds to the automatically created URL templates. The following services are created automatically:
*addResourceName
*deleteResourceNameByUID
*getAllResourceNames
*getResourceNameByUID
*updateResourceNameByUID

Copyright © 2017-2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.