Request

Response

    Retrieve Project Thumbnails

    This topic provides instructions on how to retrieve the thumbnail Url of project.

    You will use the following query in this topic:

    TypeOperationDescription
    Query project Retrieves an object representing a project from a specified hub.

    Step 1 - Retrieve the thumbnail Url of project

    The following steps demonstrate how you can run the project query to retrieve the thumbnail Url of project.

    1. Enter the following query in the Query Pane of the Manufacturing Data Model Explorer.

      Query

      query Project($projectId: ID!) {
           project(projectId: $projectId) {
              id
              name
              thumbnailUrl
           }
        }
      
    2. In the Query Variables Pane, enter the value of the projectId. To know how to obtain the projectId, refer to Retrieve Projects.

      Query Variables

      {
        "projectId": "urn:adsk.workspace:beta.project:3ee82b7c-6533-4d5c-aa1e-7c48793d79c4"
      }
      
    3. Click Play. All the members with the specified email addresses will be added to the hub.

      Response

       {
         "data": {
            "project": {
               "id": "urn:adsk.workspace:beta.project:3ee82b7c-6533-4d5c-aa1e-7c48793d79c4",
               "name": "GRAPHQL-FUNCTIONAL-TESTS",
               "thumbnailUrl": "https://static.staging.autodesk360.com/static/10.17.0.78a71cb41c/communities/images/logos/biggerThumb/defaultProjectImage_01.png"
            }
         }
      }
      
      Show More