# Data as API

{% hint style="success" %}
*Check out the given walk-through on how to publish Data as an API using the Data Center module.*
{% endhint %}

<figure><img src="https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FGiZckGYJApmh4OADzQlF%2FDataAsAPI.gif?alt=media&#x26;token=e625c4d5-fb3a-43ab-a08d-e25f9a66bf24" alt=""><figcaption></figcaption></figure>

* Navigate to the ***Data Center*** homepage.
* Click the ***New*** option.
* Select the ***Data As API*** option from the ***New*** menu.

![Data As API option under the New menu](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FOEZ8W6Zhh7OELLPGPnlz%2Fimage.png?alt=media\&token=7d7ab09b-1590-448d-b07c-152717616f8b)

* Select a  ***Data Source*** from the displayed list.
* Click on the ***Publish As Data Service*** icon.     &#x20;

![Publish as Data Service option](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FH8nMxxB4hxYEUJO9daYs%2Fimage.png?alt=media\&token=67e44ca1-2b3e-4098-82ad-8847a56affac)

* The ***Publish As Data Service*** form opens.
* Provide the following information:
  * Service Name
  * Select a category or create a new Category.
  * Description
  * Parameters
  * Limit (You can specify the no. of records you want in the Limit field).       &#x20;
* Click the ***Save*** option.

![The Publish As Data Service form](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FS1xAZ9MDfVheakh5qvnG%2Fimage.png?alt=media\&token=c93497da-4962-4a33-b6f4-a9752ac5bfc1)

* A confirmation message notifies the users that the selected data source has been published as a service.
* The published data gets listed under the Data as API list.

![The newly published data source as API gets listed under the Data As API list](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FMz68e9bfyI40r8weQH3x%2Fimage.png?alt=media\&token=b38667c8-f41a-47e9-a139-1a91904ac605)

&#x20;   &#x20;

{% hint style="info" %} <mark style="color:green;">Please Note</mark>: &#x20;

* *The user can add filter(s) to the data set as a service.*
* *The Data Set published as a data service appears under the drop-down menu of the API Client Registration form (as displayed in the below-given image).*
  {% endhint %}

<figure><img src="https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2Fw1iNY9vTEiY5D9QMvfb8%2Fimage.png?alt=media&#x26;token=ea36844f-cb9a-47f1-9dff-47a23f06b3f4" alt=""><figcaption></figcaption></figure>

<table><thead><tr><th width="87">Icon</th><th width="157">Name</th><th>Action</th></tr></thead><tbody><tr><td><img src="https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FG42DOUtiCi8Oz8qDwwZT%2Fimage.png?alt=media&#x26;token=792b32b4-2964-4a47-8822-8623e104e474" alt="" data-size="line"></td><td>Push to VCS</td><td>Pushes a version of the Data as API to VCS </td></tr><tr><td><img src="https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FReoLN03qlu9e44fnDeyy%2Fimage.png?alt=media&#x26;token=14e20ec4-2df3-440a-8524-739b5740e620" alt="" data-size="line"></td><td>Pull from VCS</td><td>Pulls a version from the VCS </td></tr><tr><td><img src="https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FgkXVOyuN05Yh5e6GQjHt%2Fimage.png?alt=media&#x26;token=1d982abb-eaa1-45f8-8830-82d792b897da" alt="" data-size="line"></td><td>Edit</td><td>Opens the Publish as Data Service form for the selected Data as API to modify the information.</td></tr><tr><td><img src="https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FaM4OowsDXtYyIWuIzTnd%2Fimage.png?alt=media&#x26;token=e2390e27-a676-4001-8f9f-8b24a2478b81" alt="" data-size="line"></td><td>No data message configuration</td><td>A dialog box  appears to configure  the message that gets displayed when no data is shown under the Published API.</td></tr><tr><td><img src="https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FIbs0Hb8oLmf9j5FxwWTa%2Fimage.png?alt=media&#x26;token=32f2d3b6-d254-4a0c-8d63-8afca0d261e2" alt="" data-size="line"></td><td>Delete</td><td>Deletes the selected Data as API service from the list.</td></tr></tbody></table>
