New Dev Portal - cutom api card

Hi,
I am looking at the new Dev Portal in Beta and have a question.
Is it possible to create custom API card with custom routing leading to custom page?
I need to for managing graphql api (custom html page with graphql).
Currently I use self-deployed dev portal and there is such possibility in Dev Portal editor.
I am curious how to do it with new Dev Portal (not self-managed)

Yes, this is totally possible via the card MDC component:

::page-section
  :::card
  ---
  title: "My custom title"
  ---
  Ipsum anim esse sint est est consequat. Commodo tempor consequat est. Aute nisi nostrud incididunt culpa voluptate Lorem dolore nulla ad nostrud ipsum labore.
  
  #footer
    ::::button
    ---
    appearance: "primary"
    # Absolute path to the custom page from the root of the subdomain
    to: "/my-custom-page/has-the-data"
    # Enable `external` if pointing to a full external URL rather than a local path
    # external: true
    ---
    Custom CTA
    ::::
  :::
::

Here’s a link to the MDC component docs

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.