RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
Papers & Presentations Archive
Below is the example which showcase the code of Automatics API.
|
@AutomaticsApi: It's a custom annotation need to be written at the very beginning of the function definition as shown in example. So, whenever an API is called the below defined function will be executed. This annotation takes below mentioned parameter values:
category: Automatics API category for which the API is created.
applicable for: For which environment the API is applicable, such as RDKB, RDKC, RDKV.
description: A short description of what the API actually does.
name: Name of the API. Whatever name is defined over here will be seen as the API name in the Automatics UI under the available method section during TC automation.
returntype: Datatype of the response which is going to be returned by the API.
description: A short description of what this parameter is used for.
name: Name of the parameter. Whatever name is defined over here will be seen as the API parameter with an input box in the input configuration of the API.
default options: It will be seen as a value suggestion in the input box of the parameter. Multiple values can be added using comma.
DISCLAIMER: Please note that the use of the RDK Wiki is subject to its Privacy Policy & Terms of Use. In addition, this Wiki may be accessed by all RDK licensees and their contractors.
Powered by a free Atlassian Confluence Open Source Project License granted to RDKCentral. Evaluate Confluence today.