dlna_controller = client.dlna
DlnaController
Creates a profile.
def create_profile(self,
body=None)
Parameter | Type | Tags | Description |
---|---|---|---|
body |
DeviceProfile |
Body, Optional | Device profile. |
void
result = dlna_controller.create_profile()
HTTP Status Code | Error Description | Exception Class |
---|---|---|
401 | Unauthorized | APIException |
403 | Forbidden | APIException |
Deletes a profile.
def delete_profile(self,
profile_id)
Parameter | Type | Tags | Description |
---|---|---|---|
profile_id |
string |
Template, Required | Profile id. |
void
profile_id = 'profileId0'
result = dlna_controller.delete_profile(profile_id)
HTTP Status Code | Error Description | Exception Class |
---|---|---|
401 | Unauthorized | APIException |
403 | Forbidden | APIException |
404 | Device profile not found. | ProblemDetailsException |
Gets the default profile.
def get_default_profile(self)
result = dlna_controller.get_default_profile()
HTTP Status Code | Error Description | Exception Class |
---|---|---|
401 | Unauthorized | APIException |
403 | Forbidden | APIException |
Gets a single profile.
def get_profile(self,
profile_id)
Parameter | Type | Tags | Description |
---|---|---|---|
profile_id |
string |
Template, Required | Profile Id. |
profile_id = 'profileId0'
result = dlna_controller.get_profile(profile_id)
HTTP Status Code | Error Description | Exception Class |
---|---|---|
401 | Unauthorized | APIException |
403 | Forbidden | APIException |
404 | Device profile not found. | ProblemDetailsException |
Get profile infos.
def get_profile_infos(self)
result = dlna_controller.get_profile_infos()
HTTP Status Code | Error Description | Exception Class |
---|---|---|
401 | Unauthorized | APIException |
403 | Forbidden | APIException |
Updates a profile.
def update_profile(self,
profile_id,
body=None)
Parameter | Type | Tags | Description |
---|---|---|---|
profile_id |
string |
Template, Required | Profile id. |
body |
DeviceProfile |
Body, Optional | Device profile. |
void
profile_id = 'profileId0'
result = dlna_controller.update_profile(profile_id)
HTTP Status Code | Error Description | Exception Class |
---|---|---|
401 | Unauthorized | APIException |
403 | Forbidden | APIException |
404 | Device profile not found. | ProblemDetailsException |