RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
...
You can access the swagger UI with the API documentation here:
There the concept of maintainer which stands for
You can use the POST /maintainers/{maintainerCode/apps RPC call to add an ASMS dac app. dactest.py uses "rdk" as maintainerCode. You will need to provide a POST body with the required contents.
see screenshot
As you can see in screenshot the ASMS API is divided in "STB" en "Maintainer" part.
The "Maintainer" part is there for creating, getting, deleting apps belonging to specific App Developer entity/company, hereafter called maintainer, as well as for creating/listing Maintainers.
At this moment we don't have many different App Developer entities using this yet since and most apps created so far as registered under the Maintainer with "rdk" as maintainerCode (also dactest.py uses that)
as per API, to see the apps created by "rdk" maintainer GET /maintainers/rdk/apps which is http://rdkm-asms-external-1156877020.eu-central-1.elb.amazonaws.com:8080/maintainers/rdk/apps
To insert/create new DAC application into ASMS, you need to use POST /maintainers/{maintainerCode}/apps call with specific body
You can use swagger UI with example body for doing this, see http://rdkm-asms-external-1156877020.eu-central-1.elb.amazonaws.com:8080/swagger-ui/index.html?configUrl=/v3/api-docs/swagger-config#/Maintainer/createMaintainerApplication
As ociImageUrl, use full path to container registry with "docker://" transport and ending with version tag, as in example screenshot below
example POST body.
Code Block | ||
---|---|---|
| ||
{
"header": {
"icon": "https://posterserver.com/s/apps/com.company.app.awesome/1.2.3/image/1920x1080/icon.png",
"name": "Awesome Application",
"description": "This is Awesome App",
"type": "application/dac.native",
"category": "application",
"id": "com.company.app.awesome",
"version": "1.2.3",
"visible": true,
"ociImageUrl": "docker://public.ecr.aws/a0v6o9z7/company/awesome:latest"
},
"requirements": {
"platform": {
"architecture": "arm",
"os": "linux"
},
} |
another example POST body that includes optional metadata parameters, Additionally Example POST body. Additionally you can check how dactest.py is doing it.
Code Block | ||||
---|---|---|---|---|
| ||||
{ "header": { "icon": "https://280222515084-default-apps-resources.s3.eu-central-1.amazonaws.com/images/apps/com.rdk.app.chocolate-doom.png", "name": "Chocolate Doom", "description": "Chocolate Doom aims to accurately reproduce the original DOS version of Doom and other games based on the Doom engine in a form that can be run on modern computers.", "type": "application/dac.native", "size": 10000000, "category": "application", "localization": [ { "languageCode": "nld", "name": "Geweldige applicatie", "description": "Dit is een geweldige applicatie" } ], "id": "com.rdk.app.chocolate-doom", "version": "1.0.0", "visible": true, "encryption": false, "preferred": false, "ociImageUrl": "docker://public.ecr.aws/a0v6o9z7/chocolate-doom:latest" }, "requirements": { "dependencies": [ { "id": "com.libertyglobal.service.voice", "version": "1.0.0" } ], "platform": { "architecture": "arm", "variant": "v7", "os": "linux" }, "hardware": { "ram": "512M", "dmips": "2000", "persistent": "60M", "cache": "200M" }, "features": [ { "name": "rdk.api.awc", "version": "2", "required": false } ] }, "maintainer": { "code": "rdk", "name": "RDK", "address": "RDK Management, LLC", "homepage": "https://rdkcentral.com", "email": "support@rdkcentral.com" }, "versions": [ { "version": "1.0.0", "visible": true, "preferred": false, "encryption": false } ] } |
...
...