with Claris FileMaker Server Data API and Asters?
Emit new event when a label is added to a post. See the documentation
Retrieve the list of all labels of a specific workspace. See the documentation
Retrieve the list of posts' analytics of a social account. See the documentation
Retrieve the list of all social accounts of a specific workspace. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
claris_filemaker_server_data_api: {
type: "app",
app: "claris_filemaker_server_data_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.claris_filemaker_server_data_api.$auth.api_url}/fmi/data/v2/databases/${this.claris_filemaker_server_data_api.$auth.database_name}/layouts`,
headers: {
Authorization: `Bearer ${this.claris_filemaker_server_data_api.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
asters: {
type: "app",
app: "asters",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.asters.ai/api/external/v1.0/workspaces`,
headers: {
"x-api-key": `${this.asters.$auth.api_key}`,
},
})
},
})