Where... | Is the... |
METHOD | HTTP request method. |
directive | The type of processing to perform. |
resource_type/resource_id | Resource to act upon. |
Where... | Is the... |
GET | Type of HTTP method to perform. Integration Server maps this value to the corresponding service on Integration Server, in this case, the _get service. |
rest | This is a directive which shows the type of processing to perform. In this case, Integration Server REST processing. Note: For more information about directives, see |
discussion/topic | Location of the _get service for this resource on Integration Server. In this example, the _get service resides in the topic folder under the discussion folder (discussion.topic). |
Where... | Is... |
3419 | This is a $resourceID. An instance of a resource passed into a service as the $resourceID variable. In the example, the $resourceID variable narrows the focus of the GET request to topic 3419. Note:Integration Server assigns the first token after the folder(s) to the $resourceID parameter. To determine whether a token represents a folder or the $resourceID, Integration Server looks in the current namespace for a folder that has the same name as the token. If it does not find a folder with this name, Integration Server assigns the token to the $resourceID variable. In other words, the first token (after the directive) that does not correspond to a folder becomes the $resourceID. |
Where... | Is... |
comment/17 | This is a $path variable. Additional information that further narrows the information about the resource. This information is passed into a service as the $path variable. In the example, comment/17 further narrows the focus of the GET request to comment 17. |
Where... | Are... |
year and name | Input variables that are specific to your application. Tokens specified after the ? must be entered as name/value pairs. In this example, year=2009 and name=Robertson narrow the focus of the GET request to entries that participant Robertson added to comment 17 in 2009. |