malnvenshorn / OctoPrint-FilamentManager

OctoPrint plugin to manage your filament inventory
GNU Affero General Public License v3.0
131 stars 59 forks source link

FilamentManager API usage #175

Closed nikee9 closed 5 years ago

nikee9 commented 5 years ago

Just needed some clarification on how to use the FilamentManager API, I can see in the API folder of the source code that there is some request setup such as GET /profiles.

When I try GET /api/profiles it returns a 404. URL not found.

Could you provide an example similar to how the octoprint API is documented https://docs.octoprint.org/en/master/api/index.html

NotExpectYet commented 5 years ago

Interested in this myself, tried all sorts of combinations

malnvenshorn commented 5 years ago

Your URL is wrong, see https://docs.octoprint.org/en/master/plugins/mixins.html#blueprintplugin

For such questions you should got to https://community.octoprint.org/

nikee9 commented 5 years ago

I see it working now, thanks!

s1mpleman commented 5 years ago

Thanks!