Linear helps streamline software projects, sprints, tasks, and bug tracking. It's built for high-performance teams.
Add or update a single record in your Pipedream Data Store.
Add or update multiple records to your Pipedream Data Store.
With the Linear API, you can build a variety of applications that allow users
to track their work and progress over time. For example, you could build a task
manager that allows users to track their to-do lists and progress on each task,
or a project manager that allows users to track their progress on different
projects.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
linear: {
type: "app",
app: "linear",
}
},
async run({steps, $}) {
const data = {
"query": `{
user(id: "me") {
id
name
email
}
}`,
}
return await axios($, {
method: "post",
url: `https://api.linear.app/graphql`,
headers: {
Authorization: `Bearer ${this.linear.$auth.oauth_access_token}`,
"Content-Type": `application/json`,
},
data,
})
},
})
With the Data Stores API, you can build applications that:
export default defineComponent({
props: {
myDataStore: {
type: "data_store",
},
},
async run({ steps, $ }) {
await this.myDataStore.set("key_here","Any serializable JSON as the value")
return await this.myDataStore.get("key_here")
},
})