Skip to content
This repository was archived by the owner on Feb 25, 2021. It is now read-only.

Add https://github.com/scottbram/CinemaTron/blob/prod/functions/at_update_movie.js #57

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion src/data/examples.json
Original file line number Diff line number Diff line change
Expand Up @@ -938,5 +938,16 @@
"javascript"
],
"description": "This working sample will return a single record in the response when a query string value is present (from the key \"recid\") or will return the first 20 records when no query string value is present.\n\nNotes:\n- Performs no validation on the record ID; invalid values will meet the catch condition\n- A sort configuration (by field \"Year\") is present, which may simply be omitted or revised to your need"
},
{
"name": "Airtable PATCH (update) request",
"url": "https://github.com/scottbram/CinemaTron/blob/prod/functions/at_update_movie.js",
"code": "https://github.com/scottbram/CinemaTron/blob/prod/functions/at_update_movie.js",
"tags": [
"airtable",
"database",
"patch"
],
"description": "This example of implements the non-destructive .update() method of the Airtable API to update the specified fields for a given record ID. Only fields being changed need be included, all others will remain untouched.\n\nNote that this is in contrast to the destructive .replace() method, which will clear the values of any unspecified fields!"
}
]
]