From 03d51a10108f2a6bff08d156306ec197d1c7d8c0 Mon Sep 17 00:00:00 2001 From: John Date: Tue, 25 Apr 2017 11:24:50 +0100 Subject: [PATCH] Added trailing comma (,) to array. (#1875) Fix Syntax error in REST API documentation. --- docs/apis/rest-api.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/apis/rest-api.rst b/docs/apis/rest-api.rst index 79ee8be1bb..b9501f8e62 100644 --- a/docs/apis/rest-api.rst +++ b/docs/apis/rest-api.rst @@ -205,7 +205,7 @@ Create a Dataset 'title' => 'Example dataset', 'status' => 1, 'body[und][0][value]' => 'The description', - 'field_resources[und][0][target_id]' => 'Madison Polling Places (5)' // Resource title plus node id + 'field_resources[und][0][target_id]' => 'Madison Polling Places (5)', // Resource title plus node id 'field_author[und][0][value]' => 'Bob Lafollette' ); $dataset_data = http_build_query($dataset_data);