ByteChef LogoByteChef
Components

Coda

Coda is a collaborative all-in-one productivity tool that combines documents, spreadsheets, apps, and databases into a single platform.

Coda is a collaborative all-in-one productivity tool that combines documents, spreadsheets, apps, and databases into a single platform.

Categories: Productivity and Collaboration

Type: coda/v1


Connections

Version: 1

Bearer Token

Properties

NameLabelTypeDescriptionRequired
tokenTokenSTRINGtrue

Actions

List Docs

Name: listDocs

Returns a list of docs accessible by the user, and which they have opened at least once.

Properties

NameLabelTypeDescriptionRequired
isOwnerIs OwnerBOOLEAN
Options true, false
Show only docs owned by the user.false
isPublishedIs PublishedBOOLEAN
Options true, false
Show only published docs.false
limitLimitINTEGERMaximum number of results to return in this query.false

Example JSON Structure

{
  "label" : "List Docs",
  "name" : "listDocs",
  "parameters" : {
    "isOwner" : false,
    "isPublished" : false,
    "limit" : 1
  },
  "type" : "coda/v1/listDocs"
}

Output

Type: OBJECT

Properties

NameTypeDescription
itemsARRAY
Items [{STRING(id), STRING(type), STRING(href), STRING(browserLink), STRING(name), STRING(owner), STRING(ownerName), STRING(createdAt), STRING(updatedAt), {STRING(name), STRING(type), STRING(browserLink)}(icon), {NUMBER(totalRowCount), NUMBER(tableAndViewCount), NUMBER(pageCount), BOOLEAN(overApiSizeLimit)}(docSize), {STRING(id), STRING(type), STRING(href), STRING(browserLink)}(sourceDoc), STRING(workspaceId), STRING(folderId), {STRING(id), STRING(type), STRING(browserLink), STRING(name)}(workspace), {STRING(id), STRING(type), STRING(browserLink), STRING(name)}(folder)}]
hrefSTRINGAPI link to these results.

Output Example

{
  "items" : [ {
    "id" : "",
    "type" : "",
    "href" : "",
    "browserLink" : "",
    "name" : "",
    "owner" : "",
    "ownerName" : "",
    "createdAt" : "",
    "updatedAt" : "",
    "icon" : {
      "name" : "",
      "type" : "",
      "browserLink" : ""
    },
    "docSize" : {
      "totalRowCount" : 0.0,
      "tableAndViewCount" : 0.0,
      "pageCount" : 0.0,
      "overApiSizeLimit" : false
    },
    "sourceDoc" : {
      "id" : "",
      "type" : "",
      "href" : "",
      "browserLink" : ""
    },
    "workspaceId" : "",
    "folderId" : "",
    "workspace" : {
      "id" : "",
      "type" : "",
      "browserLink" : "",
      "name" : ""
    },
    "folder" : {
      "id" : "",
      "type" : "",
      "browserLink" : "",
      "name" : ""
    }
  } ],
  "href" : ""
}

Copy Doc

Name: copyDoc

Copies an existing doc.

Properties

NameLabelTypeDescriptionRequired
titleTitleSTRINGTitle of the new doc.true
sourceDocSource DocSTRINGA doc ID from which to create a copy.true

Example JSON Structure

{
  "label" : "Copy Doc",
  "name" : "copyDoc",
  "parameters" : {
    "title" : "",
    "sourceDoc" : ""
  },
  "type" : "coda/v1/copyDoc"
}

Output

Type: OBJECT

Properties

NameTypeDescription
idSTRINGID of the Coda doc.
typeSTRINGThe type of this resource.
hrefSTRINGAPI link to the Coda doc.
browserLinkSTRINGBrowser-friendly link to the Coda doc.
nameSTRINGName of the doc.
ownerSTRINGEmail address of the doc owner.
ownerNameSTRINGName of the doc owner.
createdAtSTRINGTimestamp for when the doc was created.
updatedAtSTRINGTimestamp for when the doc was last modified.
iconOBJECT
Properties {STRING(name), STRING(type), STRING(browserLink)}
Info about the icon.
sourceDocOBJECT
Properties {STRING(id), STRING(type), STRING(href), STRING(browserLink)}
Reference to a Coda doc from which this doc was copied, if any.
workspaceIdSTRINGID of the Coda workspace containing this doc.
folderIdSTRINGID of the Coda folder containing this doc.
workspaceOBJECT
Properties {STRING(id), STRING(type), STRING(browserLink), STRING(name)}
Reference to a Coda workspace.
folderOBJECT
Properties {STRING(id), STRING(type), STRING(browserLink), STRING(name)}
Reference to a Coda folder.
requestIdSTRINGAn arbitrary unique identifier for this request.

Output Example

{
  "id" : "",
  "type" : "",
  "href" : "",
  "browserLink" : "",
  "name" : "",
  "owner" : "",
  "ownerName" : "",
  "createdAt" : "",
  "updatedAt" : "",
  "icon" : {
    "name" : "",
    "type" : "",
    "browserLink" : ""
  },
  "sourceDoc" : {
    "id" : "",
    "type" : "",
    "href" : "",
    "browserLink" : ""
  },
  "workspaceId" : "",
  "folderId" : "",
  "workspace" : {
    "id" : "",
    "type" : "",
    "browserLink" : "",
    "name" : ""
  },
  "folder" : {
    "id" : "",
    "type" : "",
    "browserLink" : "",
    "name" : ""
  },
  "requestId" : ""
}

Update Row

Name: updateRow

Updates the specified row in the table.

Properties

NameLabelTypeDescriptionRequired
docIdDoc IDSTRINGID of the doc.true
tableIdTable IDSTRING
Depends On docId
ID or name of the table.true
rowIdRow IDSTRING
Depends On docId, tableId
ID or name of the row.true
rowRowOBJECT
Properties {[{STRING(column), STRING(value)}](cells)}
An edit made to a particular row.true

Example JSON Structure

{
  "label" : "Update Row",
  "name" : "updateRow",
  "parameters" : {
    "docId" : "",
    "tableId" : "",
    "rowId" : "",
    "row" : {
      "cells" : [ {
        "column" : "",
        "value" : ""
      } ]
    }
  },
  "type" : "coda/v1/updateRow"
}

Output

Type: OBJECT

Properties

NameTypeDescription
requestIdSTRINGAn arbitrary unique identifier for this request.
idSTRINGID of the updated row.

Output Example

{
  "requestId" : "",
  "id" : ""
}

Insert Row

Name: insertRow

Inserts row into a table.

Properties

NameLabelTypeDescriptionRequired
docIdDoc IDSTRINGID of the doc.true
tableIdTable IDSTRING
Depends On docId
ID of the table.true
rowValuesDYNAMIC_PROPERTIES
Depends On docId, tableId
false

Example JSON Structure

{
  "label" : "Insert Row",
  "name" : "insertRow",
  "parameters" : {
    "docId" : "",
    "tableId" : "",
    "rowValues" : { }
  },
  "type" : "coda/v1/insertRow"
}

Output

Type: OBJECT

Properties

NameTypeDescription
requestIdSTRINGAn arbitrary unique identifier for this request.
addedRowIdsARRAY
Items [STRING]
Row IDs for rows that will be added.

Output Example

{
  "requestId" : "",
  "addedRowIds" : [ "" ]
}