diff --git a/src/data/examples.json b/src/data/examples.json index c24e43e..836d390 100644 --- a/src/data/examples.json +++ b/src/data/examples.json @@ -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!" } -] +] \ No newline at end of file