ALM 12.5x REST API Reference
Code Samples

These examples of JavaScript code show how to perform basic functions of the REST API. You can study the logic, then implement in the programming language of your choice.

The examples can be run if you want. To run them:

HTML File to run examples

The examples provided are:

There is also a Metadata Example  that is not run from the HTML file.