RKVST is an API-first platform to add provenance and verify the authenticity of any digital content.
Go to siteimport { axios } from "@pipedream/platform"
export default defineComponent({
props: {
rkvst: {
type: "app",
app: "rkvst",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.rkvst.io/archivist/v2/assets`,
headers: {
Authorization: `Bearer ${this.rkvst.$auth.oauth_access_token}`,
},
})
},
})
RKVST uses OAuth authentication. When you connect your RKVST account, Pipedream will open a popup window where you can sign into RKVST and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any RKVST API.
Pipedream requests the following authorization scopes when you connect your account:
POST
https://app.rkvst.io/archivist/iam/v1/appidp/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{custom_fields.client_id}}
&
client_secret={{custom_fields.client_secret}}
&
grant_type=client_credentials
POST
https://app.rkvst.io/archivist/iam/v1/appidp/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{custom_fields.client_id}}
&
client_secret={{custom_fields.client_secret}}
&
grant_type=client_credentials