Support for Regionalization
Regionalization gives organizations more choice over where their project data is primarily stored. This can help address data residency requirements and customer preferences. For the scope of regional storage and covered content, see Autodesk regional offerings.
The Manufacturing Data Model API v3 supports accessing hub data in the United
States, India, and Germany through a single GraphQL endpoint. Each hub is
associated with a region. Your integration uses the region request header
to select the region for the hub’s projects, folders, and design data.
When Region Selection Matters
Review region selection when adding support for hubs in another region or
working with hubs across multiple regions. Identify the region of each hub
and set the region header when sending requests for its data.
Changing the region header does not move an existing hub or its data to
another region.
Endpoint and Region Header
Send GraphQL queries and mutations to the following endpoint using HTTP
POST requests. Use the same URL for all supported regions.
https://developer.api.autodesk.com/mfg/v3/graphql/public
Set the region header to the region of the hub you want to access:
| Region | region Header |
|---|---|
| United States | US (optional) |
| India | IND (required) |
| Germany | DEU (required) |
Requests without a region header use the United States region. When
switching hubs, update the header to match the selected hub’s region. For a
US hub, set the header to US or remove a previously set region header.
Discover Hubs Across Regions
Use the hubBasicInfoAcrossRegions query to discover basic information about
hubs across regions. This information identifies the hubs and their regions
so that your application can set the region header before requesting
detailed hub data.
The hubs query retrieves hubs in the region addressed by the request. Use
hubBasicInfoAcrossRegions when your application needs to discover hubs
across regions rather than list hubs in a single region.
After identifying a hub and its region:
- Set the
regionheader to the hub’sregionvalue returned byhubBasicInfoAcrossRegions. - Use the hub ID in requests that retrieve or modify data in that hub.
- Send subsequent requests for that hub’s data to the same GraphQL endpoint,
with the
regionheader set to that hub’s region.
For example, the following request retrieves projects from a hub in Germany.
Replace <YOUR_ACCESS_TOKEN> with your access token and <HUB_ID> with the
ID of the hub returned by hubBasicInfoAcrossRegions.
curl --request POST 'https://developer.api.autodesk.com/mfg/v3/graphql/public' \
--header 'Authorization: Bearer <YOUR_ACCESS_TOKEN>' \
--header 'Content-Type: application/json' \
--header 'region: DEU' \
--data '{
"query": "query GetProjects($hubId: ID!) { projects(hubId: $hubId) { results { id name } } }",
"variables": { "hubId": "<HUB_ID>" }
}'
Property Definitions Across Regions
Base property IDs are consistent across regions. The same ID identifies the
same predefined base property, regardless of the region specified in a request.
Property values belong to the objects on which they are set. Use the hub’s
region in the region header to read or update those values.
App-managed custom property definitions are available across the regions where
Autodesk Fusion is available. You can use these definitions when extending
your integrations to work with hubs in other regions. Set the region header
to the hub’s region to access the property values set on its objects.
For more information, see Base Properties and About Custom Properties.
Existing Integrations
Existing integrations continue to use the same GraphQL endpoint. Requests
without a region header continue to access US data. When adding support
for hubs in other regions, use hubBasicInfoAcrossRegions to identify each
hub’s region and set the region header on requests for its data.
API Version Support
Regionalization applies to version 3 of the Manufacturing Data Model API.
Version 2 is not being regionalized. Use the v3 endpoint and region header
described on this page when developing integrations for hubs in the United
States, India, and Germany.
All new hubs use collaborative editing, regardless of region. For information about working with these hubs, see Collaborative Editing.
Localization
Use the Accept-Language header to request localized display names and
descriptions for property definitions. Set the region header according
to the hub’s region, independently of the language requested. For details,
see Support for Localization.