Module ftep_api.data
Classes
class EodataObject (json)
-
Class for holding the metadata of a satellite image.
Methods
def getEodataPath(self)
-
Returns the /eodata path of the file. This path is used when the image is accessed directly from the file system and not via the F-TEP service input mechanism.
def getFtepUri(self)
-
Returns the F-TEP URI of the file. This URI is used when the image is used as a service input.
def getName(self)
-
Returns the name of the object.
class FtepFile (fileId, uri, url)
-
Class for holding the ID, F-TEP URI and HTTP URL of a file.
Methods
def getFileId(self)
-
Returns the ID of the file. This ID is used when sharing files with shareFile function.
def getUri(self)
-
Returns the F-TEP URI of the file. This URI is used when files are specified as inputs to services.
def getUrl(self)
-
Returns the HTTP URL of the file. This URL is used when the file is queried through the REST API. To downloaded a file append /dl to the returned URL.
-
Class for holding F-TEP group ID, name and permission level information.
Methods
-
Returns the ID of the group.
-
Returns the name of the group.
-
Returns the permission level (READ, WRITE, ADMIN).
-
class FtepObject (objectType, objectId, name, description, url)
-
Class for holding the ID, name, description and HTTP URL of a F-TEP service or group.
Methods
def getDescription(self)
-
Returns the description of the object.
def getId(self)
-
Returns the ID of the object.
def getName(self)
-
Returns the name of the object.
def getUrl(self)
-
Returns the HTTP URL of the file. This URL is used when the object is queried through the REST API.