Prismic Tools
Prismic Content Api Query Documents
Usa Prismic Content Api Query Documents con Prismic Tools mediante Aident Loadout. Revisa sus entradas, salidas, configuración, precio y riesgo antes de ejecutarla.
Action de escrituraNivel de riesgo 2 de 5Conexión con clave de API
Descripción del proveedor
Tool to query Prismic documents using predicates and pagination. Use when you need to fetch multiple documents from a repository after obtaining a ref.
Precios y límites
- Precio
- Action gratuita
- Pago unificado
- No compatible actualmente
Entradas
- Query predicate(s) to filter documents using Prismic predicate syntax. Use double brackets for predicates: '[[at(document.type, "page")]]'. For multiple predicates, combine them in one string: '[[at(document.type, "blog")][at(document.tags, ["featured"])]]'.qstring
- Content release reference ID from the repository (typically the master ref). Use PRISMIC_REPOSITORY_API_GET_REFS action to obtain valid ref values.refstringObligatorio
- Language code to query (e.g., 'en-us'), default '*' for all languageslangstring
- Page number for pagination, starting from 1pageinteger
- Document ID to paginate after for deep pagination.afterstring
- Comma-separated list of specific fields to fetch for each document (e.g., 'document.title,document.description'). Reduces response size by only including specified fields.fetchstring
- Number of documents per page (1-100)pageSizeinteger
- Sort order, e.g., '[my.article.date desc]'orderingsstring
- Comma-separated list of fields from linked documents to include in the response (e.g., 'author.name,category.title'). Allows fetching related content in a single query.fetchLinksstring
- GraphQuery to specify which fields to return.graphQuerystring
- Private API content token for authentication, if required.access_tokenstring
- Reference of integration fields content.integrationFieldsRefstring
Salida observable
- Data from the action executiondataObligatorio
- Error if any occurred during the execution of the actionerrorstring
- Whether or not the action execution was successful or notsuccessfulbooleanObligatorio
Skills que usan esta Action
Casos de uso relacionados
Aún no hay casos de uso relacionados verificados.