REST Interfaces

REST services are less structured than SOAP services and are primarily implemented to offer the ability for quick tests, simplified access or using a lighter weighted protocol that may optionally be cached externally using a caching HTTP proxy server.
REST services form a subset of the features offered by SOAP.

All REST interfaces are implemented using the JAX-RS technology and published inside the JEE environment via the class "com.trendmicro.grid.acl.l0.JaxRsApplication" under the web path /rs/level-0/ (= [REST-CONTEXT]).

Note: Services can be identified easily inside the ApiDocs by looking for classes that implement the interface com.trendmicro.grid.acl.RestService. The class descriptions contain written information on what the methods do. Look at the WADL or reference below to learn how to invoke them.

The table below contains a human readable reference on all offered services.
A machine readable description (WADL) on the REST services can be obtained from http://host:port/rs/level-0/application.wadl

[M] URL Path Endpoint Interface
http://host:port/[REST-CONTEXT]/auth com.trendmicro.grid.acl.l0.PublicAuthenticationRestService
6 Methods
http://host:port/[REST-CONTEXT]/categories com.trendmicro.grid.acl.l0.PublicCategoryRestService
7 Methods
http://host:port/[REST-CONTEXT]/files com.trendmicro.grid.acl.l0.PublicFileRestService
10 Methods
http://host:port/[REST-CONTEXT]/packages com.trendmicro.grid.acl.l0.PublicPackageRestService
23 Methods
http://host:port/[REST-CONTEXT]/internal/server-statistics com.trendmicro.grid.acl.l0.ServerStatisticsRestService
4 Methods

Note: In order to build a REST endpoint address out of the information above, follow the rule:

[REST-CONTEXT] = /rs/level-0/
endpoint       = [URL Path] + [Method Path] + ([Query Params])

Examples: