> For the complete documentation index, see [llms.txt](https://docs.bdb.ai/7.6/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bdb.ai/7.6/data-center/data-as-api.md).

# 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://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FVRYEb77VdvopjX6ft5bB%2FDataAsAPI.gif?alt=media&amp;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://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FruWcz8JapZi5OVBLDhG5%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://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FnMWnmkDJPnE33B6YZxrM%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://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2Flp5c0K8LqqAHAXv2ndEM%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://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2Fghil3tjBo49vDKTN46oL%2Fimage.png?alt=media\&token=b38667c8-f41a-47e9-a139-1a91904ac605)

{% 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://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FY1ASLx9RCKoPug8IwdgY%2Fimage.png?alt=media&amp;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://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2F4of5Fi7eokKz56rqZFg8%2Fimage.png?alt=media&amp;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://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2Fx2e7fQ1m51u4I425aLEr%2Fimage.png?alt=media&amp;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://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FLfjRNQVvABtPnBCBfypI%2Fimage.png?alt=media&amp;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://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2F4Wtdz22DjDBw4upODlvP%2Fimage.png?alt=media&amp;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://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2Ftyq58xlT3Wdn5jZTPWRO%2Fimage.png?alt=media&amp;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>
