Examples of Using Rancher 1.x API

Request to share some samples on usage of the Rancher API 1.x for automating the deployment pipeline of the containers

Currently I am referring the documentation for the APIs.
https://rancher.com/docs/rancher/v1.6/en/api/v2-beta/api-resources/project/

Please do share any examples of creation of environments/stacks/services