Get Project
| API: | getProjectList |
| Purpose: | To get the list of projects on a given Ansible tool. |
| API URL: | http://<APIURL>:<APIPort>/v2/ansibleAWX/getProject/orgentityid/{orgentityid}?toolId={toolid} |
| Authentication type: | Basic |
| Method Type: | Get |
![]() |
|
|
Column |
Column Type | Mandatory | Expected/Sample value | Remarks |
| toolId | Integer | Yes | 4 | This field contains Runbook Tool Id, we will get configuration information based on tool id |
Output:
{
"Count": 1,
"Result": {
"count": 65,
"next": null,
"previos": null,
"results": [
{
"id": 28,
"name": "project1"
},
{
"id": 9,
"name": "project2"
},......
]
}}
| Column | Column type | Value | Remarks |
| Count | Integer | 1 | This field provide 1 for success and 0 for Fail |
| Result-count | Integer | 65 | Count of total credentials |
| Result-next | Integer | 1 | This field provide how many next page is available |
| Result-previous | Integer | 1 | This field provide how many previous page is available |
| Result-results | Object |
{ "id": 9, "name": "my_Project" } |
Its contains the list of id and Project |
