🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

Auteng Docs Curl Publish

by @operator-auteng-ai

Publish markdown and return share links using curl. Support markdown with mermaid diagrams such as component diagrams, flowcharts, and sequence diagrams. Also supports KaTex and code blocks. AutEng will return a shareable link to the published rendered document.

Versionv1.0.2
Downloads1,165
TERMINAL
clawhub install auteng-docs-curl-publish

πŸ“– About This Skill


name: auteng-docs-curl-publish description: Publish markdown and return share links using curl. Support markdown with mermaid diagrams such as component diagrams, flowcharts, and sequence diagrams. Also supports KaTex and code blocks. AutEng will return a shareable link to the published rendered document.

AutEng Docs Curl Publish

Use this endpoint:

https://auteng.ai/api/tools/docs/publish-markdown/

Send JSON with:

  • markdown (required)
  • title (optional)
  • expires_hours (optional)
  • Use this command to publish markdown:

    curl -sS -X POST "https://auteng.ai/api/tools/docs/publish-markdown/" \
      -H "Content-Type: application/json" \
      -d @- <<'JSON'
    {
      "markdown": "# API Test\n\nHello from curl.",
      "title": "API Test",
      "expires_hours": 24
    }
    JSON
    

    Extract only the share URL:

    curl -sS -X POST "https://auteng.ai/api/tools/docs/publish-markdown/" \
      -H "Content-Type: application/json" \
      -d '{"markdown":"# Hello\n\nPublished from curl."}' \
      | jq -r '.share_url'
    

    Extract a compact success payload:

    curl -sS -X POST "https://auteng.ai/api/tools/docs/publish-markdown/" \
      -H "Content-Type: application/json" \
      -d '{"markdown":"# Hello\n\nPublished from curl."}' \
      | jq '{title, share_url, expires_at}'
    

    Treat any response without share_url as an error and show the full JSON body.