Sources
APIs to connect your data
The ID of the source to update
Source reference
luCHyMruTQ6ozGk3gPJfEBluCHyMruTQ6ozGk3gPJfEBluCHyMruTQ6ozGk3gPJfEBUnauthorizedError
UnauthorizedError
NotFoundError
Unprocessable Entity
Unprocessable Entity
InternalServerError
POST /api/v2/sources/{source_id}/update HTTP/1.1
Host: felt.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 119
{
"connection": {
"blob_storage_url": "text",
"type": "abs_bucket"
},
"name": "text",
"permissions": {
"type": "workspace_editors"
}
}{
"automatic_sync": "enabled",
"connection_type": "abs_bucket",
"created_at": 1,
"id": "luCHyMruTQ6ozGk3gPJfEB",
"last_synced_at": 1,
"links": {
"self": "https://felt.com/api/v2/sources/V0dnOMOuTd9B9BOsL9C0UjmqC"
},
"name": "text",
"owner_id": "luCHyMruTQ6ozGk3gPJfEB",
"permissions": {
"type": "workspace_editors"
},
"sync_status": "syncing",
"type": "source_reference",
"updated_at": 1,
"workspace_id": "luCHyMruTQ6ozGk3gPJfEB"
}Only needed when using the API as part of a plugin
Source references
luCHyMruTQ6ozGk3gPJfEBluCHyMruTQ6ozGk3gPJfEBluCHyMruTQ6ozGk3gPJfEBUnauthorizedError
UnauthorizedError
NotFoundError
Unprocessable Entity
Unprocessable Entity
InternalServerError
GET /api/v2/sources HTTP/1.1
Host: felt.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"automatic_sync": "enabled",
"connection_type": "abs_bucket",
"created_at": 1,
"id": "luCHyMruTQ6ozGk3gPJfEB",
"last_synced_at": 1,
"links": {
"self": "https://felt.com/api/v2/sources/V0dnOMOuTd9B9BOsL9C0UjmqC"
},
"name": "text",
"owner_id": "luCHyMruTQ6ozGk3gPJfEB",
"permissions": {
"type": "workspace_editors"
},
"sync_status": "syncing",
"type": "source_reference",
"updated_at": 1,
"workspace_id": "luCHyMruTQ6ozGk3gPJfEB"
}
]Source reference
luCHyMruTQ6ozGk3gPJfEBluCHyMruTQ6ozGk3gPJfEBluCHyMruTQ6ozGk3gPJfEBUnauthorizedError
UnauthorizedError
NotFoundError
Unprocessable Entity
Unprocessable Entity
InternalServerError
POST /api/v2/sources HTTP/1.1
Host: felt.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 269
{
"connection": {
"blob_storage_url": "text",
"credentials": [
{
"credential": {
"connection_string": "text",
"type": "azure_storage_connection_string"
},
"name": "text",
"use_case": "source_authentication"
}
],
"type": "abs_bucket"
},
"name": "text",
"permissions": {
"type": "workspace_editors"
}
}{
"automatic_sync": "enabled",
"connection_type": "abs_bucket",
"created_at": 1,
"id": "luCHyMruTQ6ozGk3gPJfEB",
"last_synced_at": 1,
"links": {
"self": "https://felt.com/api/v2/sources/V0dnOMOuTd9B9BOsL9C0UjmqC"
},
"name": "text",
"owner_id": "luCHyMruTQ6ozGk3gPJfEB",
"permissions": {
"type": "workspace_editors"
},
"sync_status": "syncing",
"type": "source_reference",
"updated_at": 1,
"workspace_id": "luCHyMruTQ6ozGk3gPJfEB"
}The ID of the source to sync
Source reference
luCHyMruTQ6ozGk3gPJfEBluCHyMruTQ6ozGk3gPJfEBluCHyMruTQ6ozGk3gPJfEBUnauthorizedError
UnauthorizedError
NotFoundError
Unprocessable Entity
Unprocessable Entity
InternalServerError
POST /api/v2/sources/{source_id}/sync HTTP/1.1
Host: felt.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"automatic_sync": "enabled",
"connection_type": "abs_bucket",
"created_at": 1,
"id": "luCHyMruTQ6ozGk3gPJfEB",
"last_synced_at": 1,
"links": {
"self": "https://felt.com/api/v2/sources/V0dnOMOuTd9B9BOsL9C0UjmqC"
},
"name": "text",
"owner_id": "luCHyMruTQ6ozGk3gPJfEB",
"permissions": {
"type": "workspace_editors"
},
"sync_status": "syncing",
"type": "source_reference",
"updated_at": 1,
"workspace_id": "luCHyMruTQ6ozGk3gPJfEB"
}The ID of the source to show
Source
luCHyMruTQ6ozGk3gPJfEBluCHyMruTQ6ozGk3gPJfEBluCHyMruTQ6ozGk3gPJfEBUnauthorizedError
UnauthorizedError
NotFoundError
Unprocessable Entity
Unprocessable Entity
InternalServerError
GET /api/v2/sources/{source_id} HTTP/1.1
Host: felt.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"automatic_sync": "enabled",
"connection": {
"blob_storage_url": "text",
"credentials": [
{
"created_at": 1,
"credential": {
"connection_string": "text",
"type": "azure_storage_connection_string"
},
"id": "luCHyMruTQ6ozGk3gPJfEB",
"name": "text",
"source_id": "luCHyMruTQ6ozGk3gPJfEB",
"updated_at": 1,
"use_case": "source_authentication"
}
],
"type": "abs_bucket"
},
"created_at": 1,
"datasets": [
{
"created_at": 1,
"description": "text",
"geometry_type": "polygon",
"id": "luCHyMruTQ6ozGk3gPJfEB",
"inspection_status": "completed",
"name": "text",
"type": "dataset",
"updated_at": 1
}
],
"id": "luCHyMruTQ6ozGk3gPJfEB",
"last_synced_at": 1,
"name": "text",
"owner_id": "luCHyMruTQ6ozGk3gPJfEB",
"permissions": {
"type": "workspace_editors"
},
"sync_status": "syncing",
"type": "source",
"updated_at": 1,
"workspace_id": "luCHyMruTQ6ozGk3gPJfEB"
}The ID of the source to delete
No Content
No content
UnauthorizedError
UnauthorizedError
NotFoundError
Unprocessable Entity
Unprocessable Entity
InternalServerError
DELETE /api/v2/sources/{source_id} HTTP/1.1
Host: felt.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
The ID of the source to attach the credential
Source credential created
luCHyMruTQ6ozGk3gPJfEBluCHyMruTQ6ozGk3gPJfEBUnauthorizedError
UnauthorizedError
NotFoundError
Unprocessable Entity
Unprocessable Entity
InternalServerError
POST /api/v2/sources/{source_id}/credentials HTTP/1.1
Host: felt.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 137
{
"credential": {
"role_arn": "text",
"role_session_name": "text",
"type": "aws_assume_role"
},
"name": "text",
"use_case": "stac_api_authentication"
}{
"created_at": 1,
"credential": {
"role_arn": "text",
"role_session_name": "text",
"type": "aws_assume_role"
},
"id": "luCHyMruTQ6ozGk3gPJfEB",
"name": "text",
"source_id": "luCHyMruTQ6ozGk3gPJfEB",
"updated_at": 1,
"use_case": "stac_api_authentication"
}The ID of the source that the credential belongs to
The ID of the credential
Source credential updated
luCHyMruTQ6ozGk3gPJfEBluCHyMruTQ6ozGk3gPJfEBUnauthorizedError
UnauthorizedError
NotFoundError
Unprocessable Entity
Unprocessable Entity
InternalServerError
POST /api/v2/sources/{source_id}/credentials/{credential_id}/update HTTP/1.1
Host: felt.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 137
{
"credential": {
"role_arn": "text",
"role_session_name": "text",
"type": "aws_assume_role"
},
"name": "text",
"use_case": "stac_api_authentication"
}{
"created_at": 1,
"credential": {
"role_arn": "text",
"role_session_name": "text",
"type": "aws_assume_role"
},
"id": "luCHyMruTQ6ozGk3gPJfEB",
"name": "text",
"source_id": "luCHyMruTQ6ozGk3gPJfEB",
"updated_at": 1,
"use_case": "stac_api_authentication"
}The ID of the source that the credential belongs to
The ID of the credential to delete
No Content
No content
UnauthorizedError
UnauthorizedError
NotFoundError
Unprocessable Entity
Unprocessable Entity
InternalServerError
DELETE /api/v2/sources/{source_id}/credentials/{credential_id} HTTP/1.1
Host: felt.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Last updated
Was this helpful?