Expose Content via Flux API

Make your content accessible to any application — websites, mobile apps, AI systems. You'll create a Flux API, connect your collections, and get HTTP endpoints ready to serve your data.


Prerequisites

Before creating a Flux API, you need:

  • At least one collection with published content. See Create Collections in the Dashboard if you haven't set one up yet.
  • Appropriate permissions to manage Flux APIs in the target environment.

  1. Open your environment in the FoxNose dashboard.
  2. Click Flux API in the sidebar under Delivery.
Flux API page showing Create API button
  1. Click Create API to open the creation dialog.

Step 2 – Configure the API

Create API dialog showing name and prefix fields

Fill out the dialog:

FieldDescriptionExample
API NameDisplay name for the APIContent API
Path PrefixURL path segment for all endpointscontent
AccessPublic (no auth) or Private (requires API key)Public API

Click Create API to create your Flux API.


Step 3 – Connect a Collection

After creating the API, you need to connect collections to expose their content.

  1. In the API detail view, switch to the Connected Collections tab.
Connected Collections tab showing empty state
  1. Click Connect Collection to open the connection dialog.
Connect Collection dialog showing collection selection and access methods
  1. Configure the connection:
    • Select Collection — Choose which collection to connect
    • Access Methods — Select which operations to allow:
MethodDescription
List/Search Resources (get_many)Enables listing and searching resources in this collection
Get Individual Resources (get_one)Enables fetching individual resources by key
  1. Click Connect Collection to complete the connection.

Step 4 – Verify the Connection

After connecting, the collection appears in the Connected Collections list with its access permissions.

Connected Collections showing Articles folder with full access

Your content is now accessible at:

https://{environment_key}.fxns.io/{prefix}/{collection_alias}

For example, if your environment key is 7c9h4pwu, prefix is content, and collection alias is articles:

https://7c9h4pwu.fxns.io/content/articles

Step 5 – View Available Endpoints

Click on a connected collection to expand it and see all available API endpoints.

Expanded collection showing available API endpoints

Each collection shows its endpoints based on the access methods you enabled:

EndpointMethodDescription
/{prefix}/{collection}GETList all resources in the collection
/{prefix}/{collection}/_searchPOSTSearch resources with filters or vector search
/{prefix}/{collection}/{key}GETGet a specific resource by its key

Access Method Combinations

The combination of access methods controls what operations are available:

CombinationBehavior
Both enabledFull API access with complete resource content
Only get_manyCan list/search but returns only resource keys (no content)
Only get_oneCan retrieve individual resources but cannot list them
Neither enabledCollection appears in URL structure but no data access

Choose the combination that fits your security requirements. For most use cases, enable both methods.


What You've Built

You now have a complete content API:

  • Collection with a defined schema
  • Resources containing your content
  • Flux API exposing it via HTTP endpoints

Your content is now accessible at URLs like:

https://{environment_key}.fxns.io/{prefix}/{collection}

What's Next?

Your basic API is ready. Here are two paths forward:

Connect your content — Learn how to link resources across collections (authors to articles, categories to products) and expand those links in API responses.

Start querying — Jump straight into fetching, searching, and filtering your content.

Sync external content — Keep your collections up to date by importing content from an external source on a schedule.

Was this page helpful?