|
AAS HTTP Client Documentation
|
Implementation of Asset Administration Shell Registry related API calls. More...
Public Member Functions | |
| __init__ (self, "AasHttpClient" client) | |
| Initializes the ExperimentalImplementation with the given client. | |
| bytes|None | get_file_by_path_submodel_repo (self, str submodel_identifier, str id_short_path) |
| Downloads file content from a specific submodel element from the Submodel at a specified path. | |
| bool | post_file_by_path_submodel_repo (self, str submodel_identifier, str id_short_path, Path file) |
| Uploads file content to an existing submodel element at a specified path within submodel elements hierarchy. | |
| bool | put_file_by_path_submodel_repo (self, str submodel_identifier, str id_short_path, Path file) |
| Uploads file content to an existing submodel element at a specified path within submodel elements hierarchy. | |
| bool | delete_file_by_path_submodel_repo (self, str submodel_identifier, str id_short_path) |
| Deletes file content of an existing submodel element at a specified path within submodel elements hierarchy. | |
Protected Member Functions | |
| _post_multipart (self, url, files) | |
Protected Attributes | |
| _client | |
Implementation of Asset Administration Shell Registry related API calls.
Definition at line 29 of file experimental_implementation.py.
| implementations.experimental_implementation.ExperimentalImplementation.__init__ | ( | self, | |
| "AasHttpClient" | client | ||
| ) |
Initializes the ExperimentalImplementation with the given client.
Definition at line 32 of file experimental_implementation.py.
|
protected |
Definition at line 202 of file experimental_implementation.py.
| bool implementations.experimental_implementation.ExperimentalImplementation.delete_file_by_path_submodel_repo | ( | self, | |
| str | submodel_identifier, | ||
| str | id_short_path | ||
| ) |
Deletes file content of an existing submodel element at a specified path within submodel elements hierarchy.
Experimental feature - may not be supported by all servers.
| submodel_identifier | The Submodels unique id |
| id_short_path | IdShort path to the submodel element (dot-separated) |
Definition at line 176 of file experimental_implementation.py.
| bytes | None implementations.experimental_implementation.ExperimentalImplementation.get_file_by_path_submodel_repo | ( | self, | |
| str | submodel_identifier, | ||
| str | id_short_path | ||
| ) |
Downloads file content from a specific submodel element from the Submodel at a specified path.
Experimental feature - may not be supported by all servers.
| submodel_identifier | The Submodels unique id |
| id_short_path | IdShort path to the submodel element (dot-separated) |
Definition at line 50 of file experimental_implementation.py.
| bool implementations.experimental_implementation.ExperimentalImplementation.post_file_by_path_submodel_repo | ( | self, | |
| str | submodel_identifier, | ||
| str | id_short_path, | ||
| Path | file | ||
| ) |
Uploads file content to an existing submodel element at a specified path within submodel elements hierarchy.
Experimental feature - may not be supported by all servers.
| submodel_identifier | The Submodels unique id |
| id_short_path | IdShort path to the submodel element (dot-separated) |
| file | Path to the file to upload as attachment |
Definition at line 87 of file experimental_implementation.py.
| bool implementations.experimental_implementation.ExperimentalImplementation.put_file_by_path_submodel_repo | ( | self, | |
| str | submodel_identifier, | ||
| str | id_short_path, | ||
| Path | file | ||
| ) |
Uploads file content to an existing submodel element at a specified path within submodel elements hierarchy.
Experimental feature - may not be supported by all servers.
| submodel_identifier | The Submodels unique id |
| id_short_path | IdShort path to the submodel element (dot-separated) |
| file | Path to the file to upload as attachment |
Definition at line 132 of file experimental_implementation.py.
|
protected |
Definition at line 33 of file experimental_implementation.py.