Version

Get the available versions of the Data Federation API.

Use the Version resource to return available versions of the Data Federation API. Use this resource to identify values necessary for your Query resource.

Syntax

Resource
1/dfs/
Available since release
v4.0
Formats
OData 4.0
HTTP methods
GET
Authentication

Provided by Salesforce via Cloud to Cloud authentication. 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
N/A

Example

This resource gets the available DF API versions.

1/dfs/

The resource returns:

1{
2  "versions": [
3    {"id":"v2.0"},
4    {"id":"v3.0"},
5    {"id":"v4.0"}
6  ]
7}