Question

404 Response for Swagger APIs defined in Swagger Spec

  • 22 February 2019
  • 1 reply
  • 15 views

When I call

/fmerest/apidoc/v3/spec/

Some of the APIs listed in the response such as:

{"path":"/management","description":"FME Server Management"}

Return a 404 when queried like:

curl -X GET \
  http://localhost:8080/fmerest/apidoc/v3/spec/management \
  -H 'Authorization: fmetoken token=theTokenGoesHere' \
  -H 'Content-Type: application/json' \
  -H 'Postman-Token: 631c22d9-2a5e-4273-8bf1-2090800df932' \
  -H 'cache-control: no-cache'

I'm trying to create an api client using swagger-codegen and I think this issue is causing swagger-codegen to fail.

 

 

 

I haven't gone through all the spec listed endpoints but tempstore is another one that returns 404.

1 reply

Badge +7

Hi @rcollette,

 

 

Thanks for your question. Can I ask what version of FME Server you're working with? I'm thinking that some of these endpoints may just not be exposed for use via the API (ie internal use only), but I can look into this with the FME Server team.

 

Thanks,

 

Nathan

Reply