Configure explore specifications for Self-Serve Sources (Batch SDK)
Explore specifications defines the parameters required for exploring and inspecting objects contained in your source. Explore specifications also defines the response format returned when objects are explored and inspected.
TIP
Explore specifications are hard-coded and you can simply copy and paste the payload below to your connection specification.
"exploreSpec": {
"name": "Resource",
"type": "Resource",
"requestSpec": {
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object"
},
"responseSpec": {
"$schema": "http: //json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"format": {
"type": "string"
},
"schema": {
"type": "object",
"properties": {
"columns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
}
}
}
}
}
},
"data": {
"type": "array",
"items": {
"type": "object"
}
}
}
}
}
Explore specifications
Description
Example
nameDefines the name or identifier of the explore specification.
ResourcetypeDefines the type of the explore specification.
ResourcerequestSpecContains the parameters required to explore objects in the connection.
requestSpec.typeDefines the data type of the request specification.
objectresponseSpecContains the parameters that define the format of the response message returned against an explore call.
responseSpec.typeDefines the data type of the response specification.
objectresponseSpec.propertiesContains information pertaining to how the response message is formatted.
responseSpec.properties.formatDefines the formatting of the response schema.
objectresponseSpec.properties.format.typeDefines the data type of properties.
stringresponseSpec.schemaContains information pertaining to how the response schema is formatted.
responseSpec.schema.typeDefines the data type of the schema.
objectresponseSpec.schema.propertiesContains information on the columns, type, and items held within a schema.
responseSpec.schema.properties.columns.items.properties.nameDisplays the name of the file.
responseSpec.schema.properties.columns.items.properties.name.typeDefines the data type of the file name.
stringNext steps
With your explore specifications populated, you can proceed to create a complete connection specification using the Flow Service API. See the Self-Serve Sources (Batch SDK) API guide for more information.
recommendation-more-help
337b99bb-92fb-42ae-b6b7-c7042161d089