Skip to content

Unresolvable api/versions urls in production #122

@frenchy64

Description

@frenchy64

This might be a configuration issue, but port 8000 is not open to the internet so these url's don't work.

curl -X GET "https://schema.ocsf.io/api/versions" -H "accept: application/json"
{
  "default": {
    "version": "1.3.0",
    "url": "http://schema.ocsf.io:8000/1.3.0/api"
  },
  "versions": [
    {
      "version": "1.0.0",
      "url": "http://schema.ocsf.io:8000/1.0.0/api"
    },
    {
      "version": "1.0.0-rc.2",
      "url": "http://schema.ocsf.io:8000/1.0.0-rc.2/api"
    },
    {
      "version": "1.0.0-rc.3",
      "url": "http://schema.ocsf.io:8000/1.0.0-rc.3/api"
    },
    {
      "version": "1.1.0",
      "url": "http://schema.ocsf.io:8000/1.1.0/api"
    },
    {
      "version": "1.2.0",
      "url": "http://schema.ocsf.io:8000/1.2.0/api"
    },
    {
      "version": "1.3.0",
      "url": "http://schema.ocsf.io:8000/1.3.0/api"
    },
    {
      "version": "1.4.0-dev",
      "url": "http://schema.ocsf.io:8000/1.4.0-dev/api"
    }
  ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions