-
Notifications
You must be signed in to change notification settings - Fork 4
/
applicationDetailService.clj
39 lines (33 loc) · 1.14 KB
/
applicationDetailService.clj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
(ns happygapi.testing.applicationDetailService
"Cloud Testing API: applicationDetailService.
Allows developers to run automated tests for their mobile applications on Google infrastructure.
See: https://developers.google.com/cloud-test-lab/api/reference/rest/v1/applicationDetailService"
(:require [cheshire.core :as json]
[clj-http.client :as http]
[happy.util :as util]))
(defn getApkDetails$
"https://developers.google.com/cloud-test-lab/api/reference/rest/v1/applicationDetailService/getApkDetails
Required parameters: none
Optional parameters: none
Body:
{:gcsPath string}
Gets the details of an Android application APK."
{:scopes ["https://www.googleapis.com/auth/cloud-platform"]}
[auth args body]
{:pre [(util/has-keys? args #{})]}
(util/get-response
(http/post
(util/get-url
"https://testing.googleapis.com/"
"v1/applicationDetailService/getApkDetails"
#{}
args)
(merge-with
merge
{:content-type :json,
:body (json/generate-string body),
:throw-exceptions false,
:query-params args,
:accept :json,
:as :json}
auth))))