Metadata Repository Version
Use the Metadata Repository Version resource to return available versions of the metadata repository that you can query. The metadata repository stores the mappings between schema for your Customer 360 Data Manager environment. Use this resource to identify parameter values for your Query resource.
Syntax
- Resource
-
1/dfs/apiVersion/metadataRepository - Available since release
- v4.0
- Formats
- OData 4.0
- HTTP methods
- GET
- Authentication
-
Provided by Salesforce via Cloud to Cloud authentication. This means that the named credential cannot be called directly and must be called via Salesforce. For example, via the developer console, an Apex resource, or component.
- Request body
- N/A
- Request parameters
-
URI Parameter Description apiVersion Version of API syntax to use.
For example: v4.0
metadataRepository Optional. Specify a condition to narrow the results returned. Only the EQ operator is supported. However, other operators might work depending on the type of data source you are querying.
For example: core%2fstmfana44ice1%2f00DRM000000F1or2AC
Example
This example queries the available versions of the metadata repository.
Request
1/dfs/v4.0/core%2fstmfana44ice1%2f00DRM000000F1or2ACResponse
1{
2 "releases": [
3 {
4 "id": "2019-08-26T22:33:03.515594Z",
5 "description": "Core Connector Service Org Release"
6 },
7 {
8 "id": "v2.1",
9 "description": "v2.1"
10 },
11 {
12 "id": "v2.2",
13 "description": "created xforms for Service cloud 2"
14 },
15 {
16 "id": "v2.3",
17 "description": "reverted sales order mapping back to default mapping"
18 },
19 {
20 "id": "v2.4",
21 "description": "v2.4 - revert to default order -> salesorder mapping"
22 },
23 {
24 "id": "v2.4.1",
25 "description": "v2.4.1"
26 },
27 {
28 "id": "v2.4.2",
29 "description": "v2.4.2"
30 }
31 ]
32}1{
2 "releases": [
3 {"id":"v1.0","description":"the first release"},
4 {"id":"v1.1","description":"next major change"},
5 {"id":"v2.0","description":"new schema version"}
6 ]
7}