forked from Autonoma-AI/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopenapi.yaml
More file actions
1331 lines (1326 loc) · 42 KB
/
openapi.yaml
File metadata and controls
1331 lines (1326 loc) · 42 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
openapi: 3.0.3
info:
title: Autonoma API
description: |
API for managing test runs and test definitions in the Autonoma platform.
**Important Note:** Media URLs (images, videos) expire after 1 hour.
version: 1.0.0
contact:
name: Autonoma Support
servers:
- url: https://autonoma.app/api
description: Production server
security:
- ApiKeyAuth: []
components:
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: autonoma-client-id
description: Client ID for authentication
ApiSecretAuth:
type: apiKey
in: header
name: autonoma-client-secret
description: Client secret for authentication
schemas:
RunTestRequest:
type: object
required:
- id
properties:
application_version_id:
type: string
description: Optional application version ID to use for the test run
example: "cm7dbowr80042waka7thyjhkq"
source:
type: string
description: Source of the test run request
default: "api"
example: "api"
runtime_metadata:
type: object
description: Variables to override when test is running, if variable does not match any of your saved variables it will ignore it
additionalProperties:
type: string
example:
NAME: "CompanyName"
ENVIRONMENT: "staging"
API_KEY: "test-key-123"
RunFolderRequest:
type: object
properties:
application_version_id:
type: string
description: Optional application version ID to use for all tests in the folder
example: "cm7dbowr80042waka7thyjhkq"
source:
type: string
description: Source of the test run request
default: "api"
example: "api"
RunTagRequest:
type: object
required:
- tag_ids
properties:
tag_ids:
type: array
description: IDs of the tags to run
items:
type: string
example: ["cm7dbowr80042waka7thyjhkq", "cm8xf3wp90123abcd4efgh5ij"]
application_versions:
type: array
description: Applications used by running tests
items:
type: object
properties:
application_id:
type: string
description: Optional application ID
example: "cm7dbowr80042waka7thyjhkq"
application_version_ids:
type: array
description: Optional application version IDs
items:
type: string
example:
["cm7dbowr80042waka7thyjhkq", "cm8xf3wp90123abcd4efgh5ij"]
example:
- application_id: "cm7dbowr80042waka7thyjhkq"
application_version_ids:
["cm7dbowr80042waka7thyjhkq", "cm8xf3wp90123abcd4efgh5ij"]
- application_id: "cm9xyz12340567pqrs8tuvwxy"
application_version_ids:
["cm9abc34560789defg0hijklm", "cm0nop78901234qrst5uvwxyz"]
TestFolder:
type: object
properties:
id:
type: string
example: "cm7t223mk00154mzy2jwk2pqy"
name:
type: string
example: "private-listing-hub"
ApplicationVersion:
type: object
properties:
name:
type: string
example: "STG"
path:
type: string
example: "https://autonoma.app"
customID:
type: string
nullable: true
description: Custom identifier for the version (e.g., "build-123", "release-v2.0")
example: "build-123"
VersionResponse:
type: object
properties:
id:
type: string
example: "cm7dbowr80042waka7thyjhkr"
name:
type: string
example: "1.0.0"
customID:
type: string
nullable: true
description: Custom identifier for the version
example: "build-123"
path:
type: string
example: "gs://bucket/path/to/app.apk"
tag:
type: string
example: "main"
createdAt:
type: string
format: date-time
example: "2024-12-12T18:13:36.000Z"
application:
type: object
properties:
id:
type: string
example: "cm7dbowr80042waka7thyjhkq"
name:
type: string
example: "MyApp"
applicationType:
type: string
enum: [android, ios, web]
example: "android"
Metadata:
type: object
properties:
source:
type: string
example: "scheduled"
version:
type: string
example: "STG"
architecture:
type: string
example: "web"
application_version_id:
type: string
example: "cm7dbowr80042waka7thyjhkq"
email:
type: string
example: "axel@autonoma.app"
username:
type: string
example: "Axel Escalada"
Element:
type: object
properties:
html:
type: string
example: '<input class="input c2053dbb5 c10f8401f" inputmode="email" name="username" id="username" type="text" value="" required="" autocomplete="email" autocapitalize="none" spellcheck="false" autofocus=""'
selector:
type: string
example: "input#username"
Step:
type: object
properties:
id:
type: string
example: "cmbs5deso0001ps016az80n89"
instruction:
type: string
example: "insert {{variable:QA_ADMIN_USER}} into log in input"
interaction:
type: string
example: "input-text"
output:
type: string
example: "input-text on element with text axel@autonoma.app"
status:
type: string
enum: [passed, failed, pending]
example: "passed"
url:
type: string
example: "https://login.autonoma.app/login"
element:
$ref: "#/components/schemas/Element"
image:
type: string
description: "Screenshot URL (expires in 1 hour)"
example: "https://storage.googleapis.com/autonoma-media/screenshots/d8e41de595af.jpeg"
RunTest:
type: object
properties:
message:
type: string
example: "Test created successfully"
url:
type: string
example: "https://autonoma.app/run/pby4qnbppbvimimuls4v5ajq"
run_id:
type: string
example: pby4qnbppbvimimuls4v5ajq
RunFolder:
type: object
properties:
message:
type: string
example: "Folder with id cm9r0nog10012v301qtollv01 was scheduled to run. Since no applicationVersionID was provided, the latest version ('STG') for the application associated with the folder's tests was used."
url:
type: string
example: "https://autonoma.app/run/folder/pby4qnbppbvimimuls4v5ajq"
folder_run_id:
type: string
example: pby4qnbppbvimimuls4v5ajq
RunTag:
type: object
properties:
message:
type: string
example: "Runs with tags cm7dbowr80042waka7thyjhkq & cm8xf3wp90123abcd4efgh5ij were scheduled to run."
url:
type: string
example: "https://autonoma.app/run/tag/pby4qnbppbvimimuls4v5ajq"
folderRunID:
type: string
example: pby4qnbppbvimimuls4v5ajq
TestRun:
type: object
properties:
id:
type: string
example: "gch7uesq5h6m9xe2fdq5ddgd"
name:
type: string
example: "Add 'member' to network, verify it can access the listings and remove it from the network"
test_id:
type: string
example: "cm8d9gt6v000c9fe5glmyi33u"
status:
type: string
enum: [pending, running, passed, failed]
example: "pending"
created_at:
type: string
format: date-time
example: "2025-06-12T00:00:11.286Z"
ended_at:
type: string
format: date-time
example: "2025-06-12T00:00:11.286Z"
folder_run_id:
type: string
nullable: true
example: "y98cwdq4c3p3v3i68n7nay1p"
job_run_id:
type: string
nullable: true
example: null
job_id:
type: string
nullable: true
example: null
folder:
$ref: "#/components/schemas/TestFolder"
nullable: true
video_url:
type: string
nullable: true
description: "Video URL (expires in 1 hour)"
example: null
steps:
type: array
items:
$ref: "#/components/schemas/Step"
metadata:
$ref: "#/components/schemas/Metadata"
Test:
type: object
properties:
id:
type: string
example: "cmbsgljfr00fd060153r9x8ek"
name:
type: string
example: "New Test 2025-06-11T21:25:47.442Z"
created_at:
type: string
format: date-time
example: "2025-06-11T21:25:47.559Z"
folder:
$ref: "#/components/schemas/TestFolder"
nullable: true
application_version:
$ref: "#/components/schemas/ApplicationVersion"
steps:
type: array
items:
$ref: "#/components/schemas/Step"
Folder:
type: object
properties:
id:
type: string
example: "cmbsgljfr00fd060153r9x8ek"
name:
type: string
example: "Draft Folder"
created_at:
type: string
format: date-time
example: "2025-06-11T21:25:47.559Z"
updated_at:
type: string
format: date-time
example: "2025-06-11T21:25:47.559Z"
crontab:
type: string
example: "0 0 * * *"
tests:
type: array
items:
$ref: "#/components/schemas/FolderTest"
FolderTest:
type: object
properties:
id:
type: string
example: "cmbsgljfr00fd060153r9x8ek"
name:
type: string
example: "New Test 2025-06-11T21:25:47.442Z"
RunStatus:
type: object
properties:
status:
type: string
example: "running"
url:
type: string
example: "https://autonoma.app/run/cmbjp2vva000u0j01vtfu5kdj"
FolderRunStatus:
type: object
properties:
status:
type: string
example: "running"
url:
type: string
example: "https://autonoma.app/run/folder/xt80n05xgkolyyhidswgw1z6"
BadRequestError:
type: object
properties:
error:
type: string
example: "Bad Request"
message:
type: string
example: "No applicationVersionID provided, and could not automatically determine an application from the tests within folder cmbsgljfr00fd060153r9x8ek. Please specify an applicationVersionID or ensure at least one test has an associated application."
InvalidCredentialsError:
type: object
properties:
error:
type: string
example: "Unauthorized"
message:
type: string
example: "Invalid authentication credentials"
NotFoundError:
type: object
properties:
error:
type: string
example: "Not found"
message:
type: string
example: "Resource with id `cm8d9gt6v000c9fe5glmyi33u` not found"
paths:
/test:
get:
summary: List tests
description: Retrieve a list of test definitions with optional pagination
security:
- ApiKeyAuth: []
ApiSecretAuth: []
parameters:
- name: limit
in: query
description: Maximum number of tests to return
required: false
schema:
type: integer
minimum: 1
maximum: 100
example: 20
- name: offset
in: query
description: Number of tests to skip for pagination
required: false
schema:
type: integer
minimum: 0
example: 0
- name: steps
in: query
description: Include step details in response
required: false
schema:
type: boolean
example: true
- name: folder
in: query
description: Retrieve tests by folder id
required: false
schema:
type: string
example: true
responses:
"200":
description: List of tests
content:
application/json:
schema:
type: array
items:
$ref: "#/components/schemas/Test"
"401":
description: Unauthorized
content:
application/json:
schema:
$ref: "#/components/schemas/InvalidCredentialsError"
/test/{test_id}:
get:
summary: Get a specific test
description: Retrieve details of a specific test definition by ID
security:
- ApiKeyAuth: []
ApiSecretAuth: []
parameters:
- name: test_id
in: path
required: true
description: The ID of the test
schema:
type: string
example: "cmbjp2vva000u0j01vtfu5kdj"
- name: steps
in: query
description: Include step details in response
required: false
schema:
type: boolean
example: true
responses:
"200":
description: Test details
content:
application/json:
schema:
$ref: "#/components/schemas/Test"
"401":
description: Unauthorized
content:
application/json:
schema:
$ref: "#/components/schemas/InvalidCredentialsError"
"404":
description: Test not found
content:
application/json:
schema:
$ref: "#/components/schemas/NotFoundError"
/test/{test_id}/run:
post:
summary: Run test
description: Run a test by test ID
security:
- ApiKeyAuth: []
ApiSecretAuth: []
parameters:
- name: test_id
in: path
required: true
description: ID of the test to run
schema:
type: string
example: "g41k688vndxzt7kh4kq5m12s"
requestBody:
required: false
description: "Request body (optional)"
content:
application/json:
schema:
$ref: "#/components/schemas/RunTestRequest"
responses:
"200":
description: Run creation result
content:
application/json:
schema:
$ref: "#/components/schemas/RunTest"
"401":
description: Unauthorized
content:
application/json:
schema:
$ref: "#/components/schemas/InvalidCredentialsError"
"404":
description: Test not found
content:
application/json:
schema:
$ref: "#/components/schemas/NotFoundError"
/folder:
get:
summary: List Folders
description: Retrieve a list of folder definitions with optional pagination
security:
- ApiKeyAuth: []
ApiSecretAuth: []
parameters:
- name: limit
in: query
description: Maximum number of folders to return
required: false
schema:
type: integer
minimum: 1
maximum: 100
example: 20
- name: offset
in: query
description: Number of folders to skip for pagination
required: false
schema:
type: integer
minimum: 0
example: 0
responses:
"200":
description: List of Folders
content:
application/json:
schema:
type: array
items:
$ref: "#/components/schemas/Folder"
"401":
description: Unauthorized
content:
application/json:
schema:
$ref: "#/components/schemas/InvalidCredentialsError"
/folder/{folder_id}:
get:
summary: Get a specific folder
description: Retrieve details of a specific folder definition by ID
security:
- ApiKeyAuth: []
ApiSecretAuth: []
parameters:
- name: folder_id
in: path
required: true
description: The ID of the folder
schema:
type: string
example: "cmbjp2vva000u0j01vtfu5kdj"
responses:
"200":
description: Folder details
content:
application/json:
schema:
$ref: "#/components/schemas/Folder"
"404":
description: Folder not found
content:
application/json:
schema:
$ref: "#/components/schemas/NotFoundError"
"401":
description: Unauthorized
content:
application/json:
schema:
$ref: "#/components/schemas/InvalidCredentialsError"
/folder/{folder_id}/run:
post:
summary: Run all tests within a folder
description: "Executes all tests contained within the specified folder."
security:
- ApiKeyAuth: []
ApiSecretAuth: []
parameters:
- name: folder_id
in: path
required: true
description: id of the folder to run
schema:
type: string
example: "g41k688vndxzt7kh4kq5m12s"
requestBody:
required: false
description: "Request body (optional)"
content:
application/json:
schema:
$ref: "#/components/schemas/RunFolderRequest"
responses:
"200":
description: Run creation result
content:
application/json:
schema:
$ref: "#/components/schemas/RunFolder"
"400":
description: Bad request (e.g., missing application version)
content:
application/json:
schema:
$ref: "#/components/schemas/BadRequestError"
"401":
description: Unauthorized
content:
application/json:
schema:
$ref: "#/components/schemas/InvalidCredentialsError"
"404":
description: Folder not found
content:
application/json:
schema:
$ref: "#/components/schemas/NotFoundError"
/tag/run:
post:
summary: Run all tests that have a set of tags
description: "Executes all tests that have all the specified tags."
security:
- ApiKeyAuth: []
ApiSecretAuth: []
requestBody:
required: true
description: "Request body"
content:
application/json:
schema:
$ref: "#/components/schemas/RunTagRequest"
responses:
"201":
description: Run creation result
content:
application/json:
schema:
$ref: "#/components/schemas/RunTag"
"400":
description: Bad request (e.g., missing application version)
content:
application/json:
schema:
$ref: "#/components/schemas/BadRequestError"
"401":
description: Unauthorized
content:
application/json:
schema:
$ref: "#/components/schemas/InvalidCredentialsError"
"404":
description: Tag not found
content:
application/json:
schema:
$ref: "#/components/schemas/NotFoundError"
/run:
get:
summary: List test runs
description: Retrieve a list of test runs with optional filtering and pagination
security:
- ApiKeyAuth: []
ApiSecretAuth: []
parameters:
- name: limit
in: query
description: Maximum number of runs to return
required: false
schema:
type: integer
minimum: 1
maximum: 100
example: 20
- name: offset
in: query
description: Number of runs to skip for pagination
required: false
schema:
type: integer
minimum: 0
example: 0
- name: test
in: query
description: Filter by test ID
required: false
schema:
type: string
example: "cm8d9gt6v000c9fe5glmyi33u"
- name: folder
in: query
description: Filter by folder ID
required: false
schema:
type: string
example: "cm7t223mk00154mzy2jwk2pqy"
- name: status
in: query
description: Filter by run status
required: false
schema:
type: string
enum: [pending, running, passed, failed]
example: "passed"
- name: media
in: query
description: Include media URLs in response (expires in 1 hour)
required: false
schema:
type: boolean
example: true
- name: steps
in: query
description: Include step details in response
required: false
schema:
type: boolean
example: true
responses:
"200":
description: List of test runs
content:
application/json:
schema:
type: array
items:
$ref: "#/components/schemas/TestRun"
"401":
description: Unauthorized
content:
application/json:
schema:
$ref: "#/components/schemas/InvalidCredentialsError"
/run/{run_id}:
get:
summary: Get a specific test run
description: Retrieve details of a specific test run by ID
security:
- ApiKeyAuth: []
ApiSecretAuth: []
parameters:
- name: run_id
in: path
required: true
description: The ID of the test run
schema:
type: string
example: "g41k688vndxzt7kh4kq5m12s"
- name: media
in: query
description: Include media URLs in response (expires in 1 hour)
required: false
schema:
type: boolean
example: true
- name: steps
in: query
description: Include step details in response
required: false
schema:
type: boolean
example: true
responses:
"200":
description: Test run details
content:
application/json:
schema:
$ref: "#/components/schemas/TestRun"
"404":
description: Test run not found
content:
application/json:
schema:
$ref: "#/components/schemas/NotFoundError"
"401":
description: Unauthorized
content:
application/json:
schema:
$ref: "#/components/schemas/InvalidCredentialsError"
/run/{run_id}/status:
get:
summary: Get a specific run status
description: Retrieve just the run status
security:
- ApiKeyAuth: []
ApiSecretAuth: []
parameters:
- name: run_id
in: path
required: true
description: The ID of the run
schema:
type: string
example: "cmbjp2vva000u0j01vtfu5kdj"
responses:
"200":
description: Run status
content:
application/json:
schema:
$ref: "#/components/schemas/RunStatus"
"404":
description: Run not found
content:
application/json:
schema:
$ref: "#/components/schemas/NotFoundError"
"401":
description: Unauthorized
content:
application/json:
schema:
$ref: "#/components/schemas/InvalidCredentialsError"
/run/folder/{folder_run_id}/status:
get:
summary: Get a specific run folder status
description: Retrieve run folder status and run status linked to folder run
security:
- ApiKeyAuth: []
ApiSecretAuth: []
parameters:
- name: folder_run_id
in: path
required: true
description: The ID of the run folder
schema:
type: string
example: "cmbjp2vva000u0j01vtfu5kdj"
responses:
"200":
description: Folder run status details
content:
application/json:
schema:
$ref: "#/components/schemas/FolderRunStatus"
"404":
description: Folder run not found
content:
application/json:
schema:
$ref: "#/components/schemas/NotFoundError"
"401":
description: Unauthorized
content:
application/json:
schema:
$ref: "#/components/schemas/InvalidCredentialsError"
/application:
post:
summary: Create application
description: Create a new application by uploading a file (APK for Android, ZIP for iOS) or providing web application details
security:
- ApiKeyAuth: []
ApiSecretAuth: []
parameters:
- name: x-platform
in: header
required: true
description: Application platform type
schema:
type: string
enum: [android, ios, web]
example: "android"
requestBody:
required: true
content:
multipart/form-data:
schema:
type: object
required:
- name
- file
properties:
file:
type: string
format: binary
description: Application file (APK for Android, ZIP for iOS)
name:
type: string
description: Name of the application
example: "My Mobile App"
cookies:
type: string
description: Optional cookies for web applications
example: "session=abc123"
path:
type: string
description: URL path for web applications
example: "https://myapp.com"
version:
type: string
description: Version name
example: "1.0.0"
geolocation:
type: string
description: JSON string containing geolocation data
example: '{"latitude": 40.7128, "longitude": -74.0060}'
customID:
type: string
description: Optional custom identifier for the version (e.g., "build-123", "release-v2.0")
example: "build-123"
examples:
android_app:
summary: Android APK Upload
description: Example of uploading an Android APK file
value:
name: "TestApiAndroid"
file: "@/path/to/your/app.apk"
ios_app:
summary: iOS ZIP Upload
description: Example of uploading an iOS ZIP file
value:
name: "TestApiIOS"
file: "@/Users/axel/Downloads/autonoma-bank.zip"
web_app:
summary: Web Application
description: Example of creating a web application
value:
name: "My Web App"
path: "https://myapp.com"
version: "1.0.0"
cookies: "session=abc123"
geolocation: '{"latitude": 40.7128, "longitude": -74.0060}'
x-codeSamples:
- lang: curl
label: "Android"
source: |
curl --location --request POST 'https://autonoma.app/api/mobile' \
--header 'autonoma-client-id: YOUR_CLIENT_ID' \
--header 'autonoma-client-secret: YOUR_CLIENT_SECRET' \
--header 'x-platform: android' \
--form 'name=TestApiAndroid' \
--form 'customID=build-123' \
--form 'file=@"/path/to/your/app.apk"'
- lang: curl
label: "iOS ZIP"
source: |
curl --location --request POST 'https://autonoma.app/api/mobile' \
--header 'autonoma-client-id: YOUR_CLIENT_ID' \
--header 'autonoma-client-secret: YOUR_CLIENT_SECRET' \
--header 'x-platform: ios' \
--form 'name=TestApiIOS' \
--form 'customID=release-v2.0' \
--form 'file=@"/Users/axel/Downloads/autonoma-bank.zip"'
- lang: curl
label: "Web Application"
source: |
curl --location --request POST 'https://autonoma.app/api/mobile' \
--header 'autonoma-client-id: YOUR_CLIENT_ID' \
--header 'autonoma-client-secret: YOUR_CLIENT_SECRET' \
--header 'x-platform: web' \
--form 'name=My Web App' \
--form 'path=https://myapp.com' \
--form 'version=1.0.0' \
--form 'customID=production-deploy' \
--form 'cookies=session=abc123'