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.
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.