API Documentatoin

Hello @billwear,

I noticed the “API Documentation” link on this page https://maas.io/docs/api-reference, does not work.

odd. it works for me.

Interesting, not for me, where is the link going to, when I hover over the link it shows the following https://maas.io/docs/api
using curl to following link

:> curl -v https://maas.io/docs/api

  • About to connect() to maas.io port 443 (#0)
  • Trying 185.125.190.21…
  • Connected to maas.io (185.125.190.21) port 443 (#0)
  • Initializing NSS with certpath: sql:/etc/pki/nssdb
  • CAfile: /etc/pki/tls/certs/ca-bundle.crt
    CApath: none
  • SSL connection using TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
  • Server certificate:
  •   subject: CN=maas.io
    
  •   start date: Mar 07 22:45:36 2023 GMT
    
  •   expire date: Jun 05 22:45:35 2023 GMT
    
  •   common name: maas.io
    
  •   issuer: CN=R3,O=Let's Encrypt,C=US
    

GET /docs/api HTTP/1.1
User-Agent: curl/7.29.0
Host: maas.io
Accept: /

< HTTP/1.1 500
< server: nginx/1.14.0 (Ubuntu)
< date: Tue, 09 May 2023 18:44:36 GMT
< content-type: text/html; charset=utf-8
< content-length: 10759
< strict-transport-security: max-age=15724800
< x-view-name: webapp.app.api
< x-clacks-overhead: GNU Terry Pratchett
< permissions-policy: interest-cohort=()
< x-frame-options: SAMEORIGIN
< x-content-type-options: NOSNIFF
< x-vcs-revision: 1683192574-aad76dc
< x-request-id: 752e0744f7c615fea6332bff3f3c6f41
< link: https://assets.ubuntu.com; rel=preconnect; crossorigin, https://assets.ubuntu.com; rel=preconnect
<

if you followg https://assets.ubunut.com you get the following

code 401
message “401 Unauthorized: Invalid or missing token.”

please submit a bug?

How do I submit a bug?

I just tried again, and now the link is working

Well…hmm. Don’t file a bug, then. :slight_smile:

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