You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to do an fmc.object.continent.get() to get the full list of continents however it fails because the PATH in the Continent object is incorrect. The URL has continent as plural.
fireREST code
from fireREST.fmc import Resource
class Continent(Resource):
PATH = '/object/continent/{uuid}'
MINIMUM_VERSION_REQUIRED_GET = '6.1.0'
Corrected code
from fireREST.fmc import Resource
class Continent(Resource):
PATH = '/object/continents/{uuid}'
MINIMUM_VERSION_REQUIRED_GET = '6.1.0'
I tested this change and it pulled the continents fine.
The text was updated successfully, but these errors were encountered:
Trying to do an fmc.object.continent.get() to get the full list of continents however it fails because the PATH in the Continent object is incorrect. The URL has continent as plural.
fireREST code
Corrected code
I tested this change and it pulled the continents fine.
The text was updated successfully, but these errors were encountered: