Skip to content

Commit

Permalink
ensure snippet meta data is not inserted in output_json snippets
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Oliveros <[email protected]>
  • Loading branch information
joliveros committed Apr 23, 2018
1 parent c37898d commit 6ddf1ae
Show file tree
Hide file tree
Showing 676 changed files with 525 additions and 3,131 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,5 @@
"messages": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Messages.json"
},
"type": "Full",
"uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.json",
"_meta": {
"original_snippet_path": "rest/subaccounts/creating-subaccounts-example-1/creating-subaccounts-example-1.6.x.py",
"title": "Create a subaccount",
"type": "server"
}
"uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.json"
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,5 @@
"messages": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Messages.json"
},
"type": "Full",
"uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.json",
"_meta": {
"original_snippet_path": "rest/accounts/instance-get-example-1/instance-get-example-1.6.x.py",
"title": "Get Account Details",
"type": "server"
}
"uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.json"
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,5 @@
"messages": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Messages.json"
},
"type": "Full",
"uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.json",
"_meta": {
"original_snippet_path": "rest/subaccounts/listing-subaccounts-example-1/listing-subaccounts-example-1.6.x.py",
"title": "Return a subaccount resource by its account SID",
"type": "server"
}
"uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.json"
}
14 changes: 2 additions & 12 deletions api/v2010/account/read-example-1/output/read-example-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,22 +33,12 @@
"messages": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Messages.json"
},
"type": "Full",
"uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.json",
"_meta": {
"original_snippet_path": "rest/accounts/list-get-example-1/list-get-example-1.6.x.py",
"title": "List All Accounts",
"type": "server"
}
"uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.json"
}
],
"uri": "/2010-04-01/Accounts.json?PageSize=50&Page=0",
"page_size": 50,
"start": 0,
"next_page_uri": null,
"page": 0,
"_meta": {
"original_snippet_path": "rest/accounts/list-get-example-1/list-get-example-1.6.x.py",
"title": "List All Accounts",
"type": "server"
}
"page": 0
}
12 changes: 1 addition & 11 deletions api/v2010/account/read-example-2/output/read-example-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,23 +33,13 @@
"messages": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Messages.json"
},
"type": "Full",
"uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.json",
"_meta": {
"original_snippet_path": "rest/accounts/list-get-example-2/list-get-example-2.6.x.py",
"title": "List All Active Accounts",
"type": "server"
}
"uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.json"
}
],
"uri": "/2010-04-01/Accounts.json?PageSize=50&Page=0",
"page_size": 50,
"start": 0,
"next_page_uri": null,
"page": 0,
"_meta": {
"original_snippet_path": "rest/accounts/list-get-example-2/list-get-example-2.6.x.py",
"title": "List All Active Accounts",
"type": "server"
},
"status": "active"
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,23 +33,13 @@
"messages": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Messages.json"
},
"type": "Full",
"uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.json",
"_meta": {
"original_snippet_path": "rest/subaccounts/listing-subaccounts-example-2/listing-subaccounts-example-2.6.x.py",
"title": "Query subaccounts by friendly name",
"type": "server"
}
"uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.json"
}
],
"uri": "/2010-04-01/Accounts.json?PageSize=50&Page=0",
"page_size": 50,
"start": 0,
"next_page_uri": null,
"page": 0,
"_meta": {
"original_snippet_path": "rest/subaccounts/listing-subaccounts-example-2/listing-subaccounts-example-2.6.x.py",
"title": "Query subaccounts by friendly name",
"type": "server"
},
"friendly_name": "MySubaccount"
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,5 @@
"transcriptions": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Transcriptions.json"
},
"type": "Full",
"uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.json",
"_meta": {
"original_snippet_path": "rest/accounts/instance-post-example-1/instance-post-example-1.6.x.py",
"title": "Suspend a Subaccount",
"type": "server"
}
"uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.json"
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,5 @@
"transcriptions": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Transcriptions.json"
},
"type": "Full",
"uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.json",
"_meta": {
"original_snippet_path": "rest/accounts/instance-post-example-2/instance-post-example-2.6.x.py",
"title": "Re-activate a Suspended Subaccount",
"type": "server"
}
"uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.json"
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,5 @@
"transcriptions": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Transcriptions.json"
},
"type": "Full",
"uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.json",
"_meta": {
"original_snippet_path": "rest/accounts/instance-post-example-3/instance-post-example-3.6.x.py",
"title": "Permanently Close a Subaccount",
"type": "server"
}
"uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.json"
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
"sid": "ADXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"street": "4th",
"validated": false,
"uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Addresses/ADXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.json"
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Addresses/ADXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.json"
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,5 @@
"sid": "ADXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"street": "1 Hasselhoff Lane",
"validated": false,
"uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Addresses/ADXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.json",
"_meta": {
"original_snippet_path": "rest/addresses/list-post-example-1/list-post-example-1.6.x.py",
"title": "List Post Example 1",
"type": "server"
}
"uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Addresses/ADXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.json"
}
7 changes: 1 addition & 6 deletions api/v2010/address/create-example/output/create-example.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,5 @@
"sid": "ADXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"street": "Elm Street",
"validated": false,
"uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Addresses/ADXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.json",
"_meta": {
"original_snippet_path": "rest/addresses/instance-create-example/instance-create-example.6.x.py",
"title": "Instance Create Example",
"type": "server"
}
"uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Addresses/ADXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.json"
}
2 changes: 1 addition & 1 deletion api/v2010/address/fetch-default/output/fetch-default.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
"sid": "ADXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"street": "4th",
"validated": false,
"uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Addresses/ADaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json"
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Addresses/ADaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json"
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,5 @@
"sid": "AP2a0747eba6abf96b7e3c3ff0b4530f6e",
"street": "4th",
"validated": false,
"uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Addresses/AP2a0747eba6abf96b7e3c3ff0b4530f6e.json",
"_meta": {
"original_snippet_path": "rest/addresses/instance-get-example-1/instance-get-example-1.6.x.py",
"title": "Instance Get Example 1",
"type": "server"
}
"uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Addresses/AP2a0747eba6abf96b7e3c3ff0b4530f6e.json"
}
2 changes: 1 addition & 1 deletion api/v2010/address/read-default/output/read-default.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"sid": "ADXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"street": "4th",
"validated": false,
"uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Addresses/ADXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.json"
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Addresses/ADXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.json"
}
],
"end": 0,
Expand Down
12 changes: 1 addition & 11 deletions api/v2010/address/read-example-1/output/read-example-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,7 @@
"sid": "ADXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"street": "4th",
"validated": false,
"uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Addresses/ADXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.json",
"_meta": {
"original_snippet_path": "rest/addresses/list-get-example-1/list-get-example-1.6.x.py",
"title": "List Get Example 1",
"type": "server"
}
"uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Addresses/ADXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.json"
}
],
"end": 0,
Expand All @@ -33,10 +28,5 @@
"start": 0,
"total": 1,
"uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Addresses.json?PageSize=50&Page=0",
"_meta": {
"original_snippet_path": "rest/addresses/list-get-example-1/list-get-example-1.6.x.py",
"title": "List Get Example 1",
"type": "server"
},
"account_sid": "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
}
12 changes: 1 addition & 11 deletions api/v2010/address/read-example-2/output/read-example-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,7 @@
"sid": "ADXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"street": "4th",
"validated": false,
"uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Addresses/ADXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.json",
"_meta": {
"original_snippet_path": "rest/addresses/list-get-example-2/list-get-example-2.6.x.py",
"title": "List Get Example 2",
"type": "server"
}
"uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Addresses/ADXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.json"
}
],
"end": 0,
Expand All @@ -33,11 +28,6 @@
"start": 0,
"total": 1,
"uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Addresses.json?PageSize=50&Page=0",
"_meta": {
"original_snippet_path": "rest/addresses/list-get-example-2/list-get-example-2.6.x.py",
"title": "List Get Example 2",
"type": "server"
},
"account_sid": "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"customer_name": "Customer 123"
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
"sid": "ADXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"street": "4th",
"validated": false,
"uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Addresses/ADaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json"
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Addresses/ADaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json"
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,5 @@
"sid": "AD2a0747eba6abf96b7e3c3ff0b4530f6e",
"street": "2 Hasselhoff Lane",
"validated": false,
"uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Addresses/AD2a0747eba6abf96b7e3c3ff0b4530f6e.json",
"_meta": {
"original_snippet_path": "rest/addresses/instance-post-example-1/instance-post-example-1.6.x.py",
"title": "Instance Post Example 1",
"type": "server"
}
"uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Addresses/AD2a0747eba6abf96b7e3c3ff0b4530f6e.json"
}
2 changes: 1 addition & 1 deletion api/v2010/all_time/read-default/output/read-default.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"yearly": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Usage/Records/Yearly.json?Category=sms-inbound-shortcode",
"yesterday": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Usage/Records/Yesterday.json?Category=sms-inbound-shortcode"
},
"uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Usage/Records/AllTime?Category=sms-inbound-shortcode&StartDate=2011-08-23&EndDate=2015-09-04",
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Usage/Records/AllTime?Category=sms-inbound-shortcode&StartDate=2011-08-23&EndDate=2015-09-04",
"usage": "0",
"usage_unit": "messages"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,5 @@
"voice_fallback_method": "GET",
"voice_fallback_url": "http://www.example.com/voice-callback",
"voice_method": "GET",
"voice_url": "http://demo.twilio.com/docs/voice.xml",
"_meta": {
"original_snippet_path": "rest/applications/list-post-example-1/list-post-example-1.6.x.py",
"title": "Create a New Application Within Your Account",
"type": "server"
}
"voice_url": "http://demo.twilio.com/docs/voice.xml"
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,5 @@
"voice_fallback_method": "GET",
"voice_fallback_url": "http://www.example.com/voice-callback",
"voice_method": "GET",
"voice_url": "http://example.com",
"_meta": {
"original_snippet_path": "rest/applications/instance-get-example-1/instance-get-example-1.6.x.py",
"title": "Get an Application Instance Resource",
"type": "server"
}
"voice_url": "http://example.com"
}
12 changes: 1 addition & 11 deletions api/v2010/application/read-example-1/output/read-example-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,7 @@
"voice_fallback_method": "POST",
"voice_fallback_url": null,
"voice_method": "POST",
"voice_url": null,
"_meta": {
"original_snippet_path": "rest/applications/list-get-example-1/list-get-example-1.6.x.py",
"title": "List All Application Resource Representations",
"type": "server"
}
"voice_url": null
}
],
"end": 0,
Expand All @@ -39,10 +34,5 @@
"start": 0,
"total": 36,
"uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Applications.json?PageSize=1&Page=0",
"_meta": {
"original_snippet_path": "rest/applications/list-get-example-1/list-get-example-1.6.x.py",
"title": "List All Application Resource Representations",
"type": "server"
},
"account_sid": "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
}
12 changes: 1 addition & 11 deletions api/v2010/application/read-example-2/output/read-example-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,7 @@
"voice_fallback_method": "POST",
"voice_fallback_url": null,
"voice_method": "POST",
"voice_url": null,
"_meta": {
"original_snippet_path": "rest/applications/list-get-example-2/list-get-example-2.6.x.py",
"title": "Return the application named \"MyApp\"",
"type": "server"
}
"voice_url": null
}
],
"end": 0,
Expand All @@ -39,11 +34,6 @@
"start": 0,
"total": 36,
"uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Applications.json?PageSize=1&Page=0",
"_meta": {
"original_snippet_path": "rest/applications/list-get-example-2/list-get-example-2.6.x.py",
"title": "Return the application named \"MyApp\"",
"type": "server"
},
"account_sid": "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"friendly_name": "MyApp"
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,5 @@
"voice_fallback_method": "GET",
"voice_fallback_url": "http://www.example.com/voice-callback",
"voice_method": "GET",
"voice_url": "http://demo.twilio.com/docs/voice.xml",
"_meta": {
"original_snippet_path": "rest/applications/instance-post-example-1/instance-post-example-1.6.x.py",
"title": "Set the VoiceUrl and SmsUrl on an application",
"type": "server"
}
"voice_url": "http://demo.twilio.com/docs/voice.xml"
}
Loading

0 comments on commit 6ddf1ae

Please sign in to comment.