validate
Updated on Thursday, 4 April, 2013 - 12:32
Purpose:
Check the syntax of the CSDL code of a filter without compiling.
Syntax:
https://api.datasift.com/validate
| Parameter: | Description: |
|---|---|
|
csdl required |
The CSDL code to be compiled. Example values: interaction.content contains "apple" |
All calls to the API must be properly authenticated with a DataSift username and API key.
Examples:
1. Here's an example of a call to /validate.
https://api.datasift.com/validate
?csdl=interaction.content%20contains%20%22apple%22
Datasift will return JSON similar to this example:
| Property: | Description: |
|---|---|
| dpu | The cost in DPUs to run this stream. Remember that some data sources charge a license cost, which we pass on to you in addition to the DPU cost. |
