Skip to content
This repository has been archived by the owner on Apr 3, 2023. It is now read-only.

feat(otb.services): add endpoints for overTheBox #293

Merged
merged 5 commits into from
Jun 1, 2020
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions src/api/overTheBox/overTheBox.v6.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,20 @@ angular.module('ovh-api-services').service('OvhApiOverTheBoxV6', ($resource, Ovh
url: '/overTheBox/:serviceName/device/logs ',
isArray: false,
},
getActions: {
Steffy29 marked this conversation as resolved.
Show resolved Hide resolved
method: 'GET',
url: '/overTheBox/:serviceName/device/actions',
isArray: true,
},
getAction: {
method: 'GET',
url: '/overTheBox/:serviceName/device/actions/:actionId',
},
unlinkDevice: {
method: 'DELETE',
url: '/overTheBox/:serviceName/device',
interceptor,
Steffy29 marked this conversation as resolved.
Show resolved Hide resolved
},
});

return overTheBox;
Expand Down