getDiagramByVersion

GET
1
/{orgId}/{itemId}/diagrams/{diagramId}/{diagramVersion}

Get a diagram version

Get a diagram version by diagramId and version number. For a diagram that does not have a draft version (-1), get diagram version number -1 will return the latest active diagram version. If the requested active version number does not exist, an error saying the specific diagram version does not exist will be returned.

Query parameters

NameTypeRequired

token

string

Path parameters

NameTypeRequired

diagramId

string

diagramVersion

integer

orgId

string

itemId

string

Examples

Request

1
2
3
4
# You can also use wget
curl -X GET /{orgId}/{itemId}/diagrams/{diagramId}/{diagramVersion} \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

Response

StatusMeaningDescriptionSchema

200

OK

success

Diagram

404

Not Found

error

WorkflowExceptionDTO

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close