All Collections
Modyo Essentials
How to get Entry fields to use with Liquid, API, or SwaggerUI?
How to get Entry fields to use with Liquid, API, or SwaggerUI?
Carlos Solis avatar
Written by Carlos Solis
Updated over a week ago

Having your Entry fields on hand lets you use our API and write templates quickly without the need to navigate Modyo Platform when you need to find the name of a field.

For this task, it is required to have access to the API and Content module.

We recommend the use of two windows in your browser to facilitate this task, one window must have Modyo Platform open and in the other our Content API (e.g. https://test.modyo.com/api/content/docs#). A special role or permission is not necessary because Content API is public and can be accessed externally.

For your convenience, we compiled a list of drops available for your Entries in our documentation. One of the uses for these drops is to be utilized in conjunction with Liquid to quickly create Templates for your Sites.

To use our API to its fullest extent, you must use Modyo Platform to know the space_uid and content_type_uid before using Content API. Follow these steps to know the required IDs:

  1. From Modyo Platform, in the side menu, expand Content, and click Spaces.

  2. In the Spaces menu, the identifier is the space_uid you will need to query Content API.

  3. In the side menu, click Types.

  4. In the Content Type menu, the identifier is the required content_type_uid.

  5. Now in the Content API window, in the Content Types y Entries categories, you can find the available calls to get information such as the Content Type schema, list all the Entries in a Space, filter them by Type, etc

This is useful for internal development teams to quickly display the values of entries, review that an entry is accessible for the public, double check cache issues in the browser, etc. For external teams, you can use our API in combination with the Liquid and Javascript SDKs, or directly consume our API in your sites outside of Modyo Platform.

You can find more information about our SDKs and APIs in our documentation.

Did this answer your question?