Queryable Schemas

Get the queryable schemas available for a specific metadata repository version.

Use the Queryable Schemas resource to return the queryable schemas available for a specific mapping version. Use this resource to identify values necessary for your Query resource.

Syntax

Resource
1/dfs/api_version/metadataRepository/repositoryVersion/
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

repositoryVersion

The mapping version to use.

For example: 2.0.1

Example

This example returns the available queryable schemas.

Request

1/dfs/v4.0/core%2fstmfdna44ice1%2f00DRM000000F1or2AC/v2.3

Response

1{
2  "schemas" : [ {
3    "id" : "Org1connection"
4  } ]
5}