Retrieving a list of project assets

Retrieve a list of all valid assets for a particular project.

Procedure

  1. In a REST client platform, add the authentication details of the tenant from where you want to retrieve valid assets created in a particular project.
    
    //In case of Instance API key 
    Headers:
    {
    "x-instance-api-key": "instance_api_key"
    }
     
    // In case of MCSP or ISV token
    Headers:
    {
    "Authorization": "Bearer mcsp_or_isv_token"
    }
  2. Make a GET request at the URL of the project.

    URL Syntax: <domain>/apis/v1/rest/projects/:project/assets

    In this URL request, /:project is the name of the project from where you want to retrieve assets.

    You can control and filter the output response by using a query parameter. To retrieve more details of assets created in a specific project, append the query parameter ?complete=true to the end of the URL request. It is an optional parameter and its default value is false.

    Method: GET

    If the request is successful, you receive the response code for success.
    {
    output : {
    "workflows": [
                "<workflow1_uid>",
                "<workflow2_uid>",
            ],
            "flows": [
                "<flowservice1_name>",
                "<flowservice2_name>",
            ],
            "rest_api": [
                "<rest_api1_name>",
                "<rest_api2_name>",
            ],
            "soap_api": [
                "<soap_api1_name>",
                "<soap_api2_name>",
            ],
            "messaging": [
                "<subscriber1_name>",
                "<subscriber2_name>"
            ]
    }
    }