OBJECT
Mutation
Mutations are used to modify data. Each mutation takes an input that contains the data necessary to create or update the data in question.
link GraphQL Schema definition
1 type Mutation { 2 3 # Create a new temporal data object 4 # Example: 5 # Request: 6 # mutation { 7 # 8 # createTDO(input: { 9 # 10 # startDateTime: 1623253937, 11 # 12 # stopDateTime: 1623259000, 13 # 14 # source: "123", 15 # 16 # name: "example", 17 # 18 # description: "example", 19 # 20 # isPublic: false, 21 # 22 # applicationId: "123"}) { 23 # 24 # id 25 # 26 # name 27 # 28 # } 29 # } 30 # Response: 31 # { 32 # 33 # "data": { 34 # 35 # "createTDO": { 36 # 37 # "id": "1570654874", 38 # 39 # "name": "example" 40 # 41 # } 42 # 43 # } 44 # } 45 # 46 # Arguments 47 # input: Fields required to create a TDO 48 CreateTDO): TemporalDataObject ( : 49 50 # Update a temporal data object 51 # Example: 52 # Request: 53 # mutation { 54 # 55 # updateTDO(input:{ 56 # 57 # id: "1570654874", 58 # 59 # status: "example", 60 # 61 # name: "example"}) { 62 # 63 # id 64 # 65 # name 66 # 67 # description 68 # 69 # } 70 # } 71 # Result: 72 # { 73 # 74 # "data": { 75 # 76 # "updateTDO": { 77 # 78 # "id": "1570654874", 79 # 80 # "name": "example", 81 # 82 # "description": null 83 # 84 # } 85 # 86 # } 87 # } 88 # 89 # Arguments 90 # input: Fields required to update a TDO 91 UpdateTDO): TemporalDataObject ( : 92 93 # Delete a temporal data object. The TDO metadata, its assets and 94 # all storage objects, and search index data are deleted. 95 # Engine results stored in related task objects are not. 96 # cleanupTDO can be used to selectively delete certain data on the TDO. 97 # Example: 98 # Request: 99 # mutation { 100 # 101 # deleteTDO( 102 # 103 # id: "1570654874") { 104 # 105 # id 106 # 107 # message 108 # 109 # } 110 # } 111 # Response: 112 # 113 # { 114 # 115 # "data": { 116 # 117 # "deleteTDO": { 118 # 119 # "id": "1570654874", 120 # 121 # "message": "TemporalDataObject 1570654874 and all associated asset content was 122 # deleted." 123 # 124 # } 125 # 126 # } 127 # } 128 # 129 # Arguments 130 # id: Supply the ID of the TDO to delete 131 ID!): DeletePayload ( : 132 133 # Delete partial information from a temporal data object. 134 # Use the delete options to control exactly which data is deleted. 135 # The default is to delete objects from storage and the search index, 136 # while leaving TDO-level metadata and task engine results intact. 137 # To permanently delete the TDO, use delete TDO. 138 # Example: 139 # Request: 140 # mutation { 141 # 142 # cleanupTDO( 143 # 144 # id: "1570705980") { 145 # 146 # id 147 # 148 # message 149 # 150 # } 151 # } 152 # Response: 153 # { 154 # 155 # "data": { 156 # 157 # "cleanupTDO": { 158 # 159 # "id": "1570705980", 160 # 161 # "message": null 162 # 163 # } 164 # 165 # } 166 # } 167 # 168 # Arguments 169 # id: Supply the ID of the TDO to clean up. 170 # options: Supply a list of cleanup options. See TDOCleanupOption 171 # for details. If not provided, the server will use default settings. 172 ID!, : [TDOCleanupOption!]): DeletePayload ( : 173 174 # Create a task log by using 175 # multipart form POST. 176 # 177 # Arguments 178 # input: Fields needed to create a task log. 179 CreateTaskLog!): TaskLog ( : 180 181 # Create a media asset. Optionally, upload content using 182 # multipart form POST. 183 # example: 184 # Request: 185 # mutation { 186 # 187 # createAsset(input: { 188 # 189 # containerId: "1570654874", 190 # 191 # contentType: "application/json", 192 # 193 # description: "example", 194 # 195 # file: null, 196 # 197 # assetType: "text", 198 # 199 # uri: "example" 200 # 201 # name: "example"}) { 202 # 203 # id 204 # 205 # name 206 # 207 # description 208 # 209 # } 210 # } 211 # Response: 212 # { 213 # 214 # "data": { 215 # 216 # "createAsset": { 217 # 218 # "id": "1570654874_4hJtNKSUXD", 219 # 220 # "name": "example", 221 # 222 # "description": "example" 223 # 224 # } 225 # 226 # } 227 # } 228 # 229 # Arguments 230 # input: Fields needed to create an asset. 231 CreateAsset!): Asset ( : 232 233 # Delete an asset 234 # Example: 235 # Request: 236 # mutation { 237 # 238 # deleteAsset( 239 # 240 # id: "1570705980_w4ZLCPU7Dk") { 241 # 242 # id 243 # 244 # message 245 # 246 # } 247 # } 248 # Response: 249 # { 250 # 251 # "data": { 252 # 253 # "deleteAsset": { 254 # 255 # "id": "1570705980_w4ZLCPU7Dk", 256 # 257 # "message": "No storage objects deleted for example" 258 # 259 # } 260 # 261 # } 262 # } 263 # 264 # Arguments 265 # id: Provide the ID of the asset to delete. 266 ID!): DeletePayload ( : 267 268 # Update an asset 269 # Example: 270 # Request: 271 # mutation { 272 # 273 # updateAsset(input: { 274 # 275 # id: "1570705980_w4ZLCPU7Dk", 276 # 277 # description: "example", 278 # 279 # name: "example", 280 # 281 # fileData: null, 282 # 283 # sourceData: null, 284 # 285 # details: null}) { 286 # 287 # id 288 # 289 # name 290 # 291 # contentType 292 # 293 # } 294 # } 295 # Result: 296 # { 297 # 298 # "data": { 299 # 300 # "updateAsset": { 301 # 302 # "id": "1570705980_w4ZLCPU7Dk", 303 # 304 # "name": "example", 305 # 306 # "contentType": "application/json" 307 # 308 # } 309 # 310 # } 311 # } 312 # 313 # Arguments 314 # input: Fields needed to update an asset. 315 UpdateAsset!): Asset ( : 316 317 # Add a single media segment to a TemporalDataObject. 318 # This mutation will update the manifest asset (`media-mdp`) 319 # for the TemporalDataObject. 320 # Example: 321 # Request: 322 # mutation { 323 # 324 # addMediaSegment(input: { 325 # 326 # containerId: "1570705980", 327 # 328 # details: [], 329 # 330 # url: 331 # "https://edit.co.uk/uploads/2016/12/Image-1-Alternatives-to-stock-photography-Thinkstock.jpg", 332 # 333 # segmentGroupId: "123"}) { 334 # 335 # id 336 # 337 # name 338 # 339 # createdBy 340 # 341 # } 342 # } 343 # Response: 344 # { 345 # 346 # "data": { 347 # 348 # "addMediaSegment": { 349 # 350 # "id": "1570705980", 351 # 352 # "name": "example", 353 # 354 # "createdBy": null 355 # 356 # } 357 # 358 # } 359 # } 360 # 361 # Arguments 362 # input: Fields necesary to create the segment. 363 AddMediaSegment!): TemporalDataObject! ( : 364 365 # Add a media segments to a TemporalDataObject. 366 # This mutation will update the manifest asset (`media-mdp`) 367 # for the TemporalDataObject. 368 # Example: 369 # Request: 370 # mutation { 371 # 372 # addMediaSegments( 373 # 374 # containerId: "1570705980", 375 # 376 # segments: [ 377 # 378 # { 379 # 380 # details: [], 381 # 382 # url: 383 # "https://edit.co.uk/uploads/2016/12/Image-1-Alternatives-to-stock-photography-Thinkstock.jpg", 384 # 385 # }, 386 # 387 # { 388 # 389 # details: [], 390 # 391 # url: 392 # "https://edit.co.uk/uploads/2016/12/Image-1-Alternatives-to-stock-photography-Thinkstock.jpg" 393 # 394 # } 395 # 396 # ] 397 # 398 # segmentGroupId: "123") { 399 # 400 # id 401 # 402 # name 403 # 404 # 405 # } 406 # } 407 # Response: 408 # { 409 # 410 # "data": { 411 # 412 # "addMediaSegments": { 413 # 414 # "id": "1570705980", 415 # 416 # "name": "example" 417 # 418 # } 419 # 420 # } 421 # } 422 # 423 # Arguments 424 # containerId: ID of the TemporalDataObject container for the 425 # segment 426 # segments: Fields necesary to create the segment. 427 # segmentGroupId: ID of the segment group (Optional) 428 ( 429 ID!, : 430 AddMediaSegments]!, : [ 431 ID : 432 ): TemporalDataObject! 433 434 # Start a clone job. A clone creates a new TDO 435 # that links back to an existing TDO's assets 436 # instead of creating new ones and is used 437 # primarily to handle sample media. 438 # Only for internal platform components. 439 # Example: 440 # Request: 441 # mutation { 442 # 443 # requestClone(input: { 444 # 445 # sourceApplicationId: "47bd3e25-f4ea-435f-b69b-13cb4f9dd60a", 446 # 447 # destinationApplicationId:"5908703b-51b4-4291-9787-b54bada73b0a", 448 # 449 # cloneBlobs: true}) { 450 # 451 # id 452 # 453 # status 454 # 455 # } 456 # } 457 # Response: 458 # { 459 # 460 # "data": { 461 # 462 # "requestClone": null 463 # 464 # } 465 # } 466 # 467 # Arguments 468 # input: Fields needed to request a new clone job. 469 RequestClone): CloneRequest ( : 470 471 # Create a new automate flow. An automate flow is an engine 472 # with extra metadata to work in the automate environment. 473 # This endpoint will return an engineId that can be used to open 474 # the flow in automate. 475 # Example: 476 # Request: 477 # mutation { 478 # 479 # createAutomateFlow(input: { 480 # 481 # name: "My New Flow", 482 # 483 # linkedApplicationId: "123", 484 # 485 # templateId: "36" 486 # 487 # } 488 # } 489 # Response: 490 # { 491 # 492 # "data": { 493 # 494 # "createAutomateFlow": { 495 # 496 # "engineId": "567", 497 # 498 # "build": { 499 # 500 # "engineId": 567 501 # 502 # } 503 # 504 # } 505 # 506 # } 507 # } 508 # 509 # Arguments 510 # input: Fields needed to create a new automate flow 511 AutomateFlowInput!): AutomateRunConfig ( : 512 513 # Create a new engine. The engine will need to go 514 # through a sequence of workflow steps before 515 # use in production. See VDA documentation for details. 516 # Example: 517 # Request: 518 # mutation { 519 # 520 # createEngine(input: { 521 # 522 # id: "123", 523 # 524 # name: "example", 525 # 526 # categoryId: "581dbb32-ea5b-4458-bd15-8094942345e3", 527 # 528 # deploymentModel: FullyNetworkIsolated 529 # 530 # useCases: [], 531 # 532 # industries: [] 533 # 534 # }) { 535 # 536 # id 537 # 538 # ownerOrganizationId 539 # 540 # } 541 # } 542 # Response: 543 # { 544 # 545 # "data": { 546 # 547 # "createEngine": { 548 # 549 # "id": "123", 550 # 551 # "ownerOrganizationId": "35521" 552 # 553 # } 554 # 555 # } 556 # } 557 # 558 # Arguments 559 # input: Fields needed to create a new engine 560 CreateEngine): Engine ( : 561 562 # Update an engine. Engines are subject to specific 563 # workflow steps. An engine's state determines what 564 # updates can be made to it. See VDA documentation for 565 # details. 566 # Example: 567 # Request: 568 # mutation { 569 # 570 # updateEngine(input: { 571 # 572 # id:"123", 573 # 574 # isPublic: false, 575 # 576 # name: "example", 577 # 578 # deploymentModel: FullyNetworkIsolated, 579 # 580 # price: 1}) { 581 # 582 # id 583 # 584 # ownerOrganizationId 585 # 586 # name 587 # 588 # price 589 # 590 # } 591 # } 592 # Response: 593 # { 594 # 595 # "data": { 596 # 597 # "updateEngine": { 598 # 599 # "id": "123", 600 # 601 # "ownerOrganizationId": "35521", 602 # 603 # "name": "example", 604 # 605 # "price": 1 606 # 607 # } 608 # 609 # } 610 # } 611 # 612 # Arguments 613 # input: Fields needed to update an engine 614 UpdateEngine): Engine ( : 615 616 # Delete an engine 617 # Example: 618 # Request: 619 # mutation { 620 # 621 # deleteEngine( 622 # 623 # id: "123") { 624 # 625 # id 626 # 627 # message 628 # 629 # } 630 # } 631 # Response: 632 # { 633 # 634 # "data": { 635 # 636 # "deleteEngine": { 637 # 638 # "id": "123", 639 # 640 # "message": "engine 123 deleted" 641 # 642 # } 643 # 644 # } 645 # } 646 # 647 # Arguments 648 # id: Provide the ID of the engine to delete 649 ID!): DeletePayload ( : 650 651 # Create an engine build. 652 # Example: 653 # Request: 654 # 655 # mutation { 656 # 657 # createEngineBuild(input: { 658 # 659 # engineId: "1", 660 # 661 # taskRuntime: [], 662 # 663 # dockerImage: "build", 664 # 665 # manifest: [] }) { 666 # 667 # id 668 # 669 # name 670 # 671 # engineId 672 # 673 # } 674 # 675 # realeaseNotes: "Includes feature x..." 676 # 677 # } 678 # 679 # } 680 # Response: 681 # { 682 # 683 # "data": { 684 # 685 # "createEngineBuild": { 686 # 687 # "id": "2a1a1b58-6983-4002-b9ed-7b7f325f621a", 688 # 689 # "name": "example Version 1", 690 # 691 # "engineId": "1", 692 # 693 # "releaseNotes": "Includes feature x..." 694 # 695 # } 696 # 697 # } 698 # } 699 # 700 # Arguments 701 # input: Fields needed to create an engine build. 702 CreateBuild!): Build ( : 703 704 # Update an engine build. Engine builds are subject to 705 # specific workflow steps. A build's state determines what 706 # updates can be made to it. See VDA documentation for details. 707 # Example: 708 # Request: 709 # mutation { 710 # 711 # updateEngineBuild(input: { 712 # 713 # id: "6f766576-03a9-42c4-8a96-f4cd932e7c6c", 714 # 715 # engineId: "1", 716 # 717 # action: update, 718 # 719 # taskRuntime: []}) { 720 # 721 # id 722 # 723 # name 724 # 725 # } 726 # 727 # releaseNotes: "Includes feature x..." 728 # 729 # } 730 # } 731 # Response: 732 # { 733 # 734 # "data": { 735 # 736 # "updateEngineBuild": { 737 # 738 # "id": "6f766576-03a9-42c4-8a96-f4cd932e7c6c", 739 # 740 # "name": "example Version 3" 741 # 742 # "releaseNotes": "Includes feature x..." 743 # 744 # } 745 # 746 # } 747 # } 748 # 749 # Arguments 750 # input: Fields needed to update an engine build. 751 UpdateBuild!): Build ( : 752 753 # Delete an engine build 754 # Example: 755 # Request: 756 # mutation { 757 # 758 # deleteEngineBuild(input: { 759 # 760 # id: "6f766576-03a9-42c4-8a96-f4cd932e7c6c", 761 # 762 # engineId: "1"}) { 763 # 764 # id 765 # 766 # message 767 # 768 # } 769 # } 770 # Response: 771 # { 772 # 773 # "data": { 774 # 775 # "deleteEngineBuild": { 776 # 777 # "id": "6f766576-03a9-42c4-8a96-f4cd932e7c6c", 778 # 779 # "message": "Engine build 6f766576-03a9-42c4-8a96-f4cd932e7c6c deleted" 780 # 781 # } 782 # 783 # } 784 # } 785 # 786 # Arguments 787 # input: Fields needed to delete an engine build. 788 DeleteBuild!): DeletePayload ( : 789 790 # Update a task 791 # 792 # Arguments 793 # input: Fields required to update a task. 794 UpdateTask): Task ( : 795 796 # Arguments 797 # reason: Short string describing the warning 798 # message: Optional: the actual problem 799 # referenceId: Optional: Reference ID for the warning, such as 800 # assetId, or sourceId 801 ( 802 ID, : 803 String!, : 804 String, : 805 ID : 806 ): ID 807 808 # Create a new application viewer, which are visual ways to consume engine output. 809 # These can be pre-built by aiWARE or developed by third parties for custom views. 810 # Example: 811 # Request: 812 # mutation { 813 # 814 # createApplicationViewer(input: { 815 # 816 # name: "example123", 817 # 818 # description: "Viewer used to display transcriptions.", 819 # 820 # icon: "https://s3.amazonaws.com/dev-api.veritone.com/7682/other/icon.png", 821 # 822 # mimetype: "application/json", 823 # 824 # viewerType: "external" 825 # 826 # }) { 827 # 828 # id 829 # 830 # name 831 # 832 # } 833 # } 834 # Response: 835 # { 836 # 837 # "data": { 838 # 839 # "createApplicationViewer": { 840 # 841 # "id": "7e863365-94de-4ac9-8826-df1a398c9a21", 842 # 843 # "name": "example123" 844 # 845 # } 846 # 847 # } 848 # } 849 # 850 # Arguments 851 # input: Fields needed to create a new custom application. 852 ( 853 CreateApplicationViewer! : 854 ): ApplicationViewer 855 856 # Create an Application Viewer build. 857 # Example: 858 # Request: 859 # 860 # mutation { 861 # 862 # createApplicationViewerBuild(input: { 863 # 864 # viewerId: "7e863365-94de-4ac9-8826-df1a398c9a21", 865 # 866 # sourceUrl: "https://viewers.aws-dev.veritone.com/json", 867 # 868 # accessUrl: "https://viewers.aws-dev.veritone.com/json" 869 # 870 # }) { 871 # 872 # viewerId 873 # 874 # viewerBuildId 875 # 876 # sourceUrl 877 # 878 # accessUrl 879 # 880 # version 881 # 882 # status 883 # 884 # } 885 # 886 # } 887 # Response: 888 # { 889 # 890 # "data": { 891 # 892 # "createApplicationViewerBuild": { 893 # 894 # "viewerId": "7e863365-94de-4ac9-8826-df1a398c9a21", 895 # 896 # "viewerBuildId": "2a1a1b58-6983-4002-b9ed-7b7f325f621a", 897 # 898 # "sourceUrl": "https://viewers.aws-dev.veritone.com/json", 899 # 900 # "accessUrl": "https://viewers.aws-dev.veritone.com/json", 901 # 902 # "version": "1", 903 # 904 # "status": "draft" 905 # 906 # } 907 # 908 # } 909 # } 910 # 911 # Arguments 912 # input: Fields needed to create an engine build. 913 ( 914 CreateApplicationViewerBuild! : 915 ): ApplicationViewerBuild 916 917 AddTasksToJobs): AddTasksToJobsResponse ( : 918 919 # Create a job 920 # 921 # Arguments 922 # input: Fields required to create a job. 923 CreateJob): Job ( : 924 925 # Cancel a job. This action effectively deletes the job, 926 # although a records of job and task execution remains in 927 # Veritone's database. 928 # 929 # Arguments 930 # id: Supply the ID of the job to delete. 931 ID!): DeletePayload ( : 932 933 # Retry a job. This action applies only to jobs 934 # that are in a failure state. The task sequence 935 # for the job will be restarted in its original 936 # configuration. 937 # 938 # Arguments 939 # id: Supply the ID of the job to retry. 940 # clusterId: Use this field to change the cluster id, by default 941 # the job 942 # will be retried on the same cluster as the original 943 ID!, : ID): Job ( : 944 945 # Create and launch a job executing a single engine, 946 # using the default engine DAG definition modified with the 947 # supplied field values 948 SingleEngineJobInput!): Job ( : 949 950 # Create and launch a job executing multiple engines, 951 # using a DAG template definition modified with the 952 # supplied field values. 953 LaunchDAGTemplateInput!): Job ( : 954 955 UpdateJobs!): JobList ( : 956 957 # This creates a config definition for an application 958 ( 959 ApplicationConfigDefinitionCreate] : [ 960 ): ApplicationConfigDefinitionList 961 962 # This updates an existing config definition for an application 963 ( 964 ApplicationConfigDefinitionUpdateInput] : [ 965 ): ApplicationConfigDefinitionList 966 967 # This removes an existing config definition from an application 968 ( 969 ApplicationConfigDefinitionDelete : 970 ): OperationResult 971 972 # This sets configs for an app/org/user 973 ( 974 ApplicationConfigSetConfigInput : 975 ): ApplicationConfigList 976 977 # This removes configs for an app/org/user 978 ApplicationConfigDelete): OperationResult ( : 979 980 # This adds an application to an organization. 981 # 982 # Arguments 983 # orgId: OrgID 984 # appId: AppID 985 # configs: Pass in configs 986 ( 987 ID!, : 988 ID!, : 989 ApplicationConfigInput!] : [ 990 ): Application! 991 992 # This removes an application from an organization 993 ( 994 ID!, : 995 ID!, : 996 ID, : 997 Boolean : 998 ): OperationResult 999 1000 # This creates headerbar information for an application/organization 1001 ( 1002 ID!, : 1003 ID, : 1004 ApplicationHeaderbarInput : 1005 ): ApplicationHeaderbar 1006 1007 # This updates headerbar information for an application/organization 1008 ( 1009 ID!, : 1010 ID, : 1011 ApplicationHeaderbarUpdate : 1012 ): ApplicationHeaderbar 1013 1014 # Create a new application. An application must 1015 # go through a sequence of workflow steps before 1016 # it is available in production. See the VDA documentation 1017 # for details. 1018 # Example: 1019 # Request: 1020 # mutation { 1021 # 1022 # createApplication(input: { 1023 # 1024 # name: "example123", 1025 # 1026 # key: "example123", 1027 # 1028 # category: "example", 1029 # 1030 # url: "www.veritone.com", 1031 # 1032 # checkPermissions: true}) { 1033 # 1034 # id 1035 # 1036 # name 1037 # 1038 # } 1039 # } 1040 # Response: 1041 # { 1042 # 1043 # "data": { 1044 # 1045 # "createApplication": { 1046 # 1047 # "id": "7e863365-94de-4ac9-8826-df1a398c9a21", 1048 # 1049 # "name": "example123" 1050 # 1051 # } 1052 # 1053 # } 1054 # } 1055 # 1056 # Arguments 1057 # input: Fields needed to create a new custom application. 1058 CreateApplication): Application ( : 1059 1060 # Delete an application 1061 # Example: 1062 # Request: 1063 # mutation { 1064 # 1065 # deleteApplication( 1066 # 1067 # id: "7e863365-94de-4ac9-8826-df1a398c9a21") { 1068 # 1069 # id 1070 # 1071 # message 1072 # 1073 # } 1074 # } 1075 # Response: 1076 # { 1077 # 1078 # "data": { 1079 # 1080 # "deleteApplication": { 1081 # 1082 # "id": "7e863365-94de-4ac9-8826-df1a398c9a21", 1083 # 1084 # "message": null 1085 # 1086 # } 1087 # 1088 # } 1089 # } 1090 # 1091 # Arguments 1092 # id: Supply the ID of the application to delete. 1093 ID!): DeletePayload ( : 1094 1095 # Update a custom application. Applications are subject to 1096 # specific workflows. The current application state determines 1097 # what updates can be made to it. See VDA documentation for details. 1098 # Example: 1099 # Request: 1100 # mutation { 1101 # 1102 # updateApplication(input: { 1103 # 1104 # name: "example123", 1105 # 1106 # id: "7e863365-94de-4ac9-8826-df1a398c9a21" 1107 # 1108 # category: "example", 1109 # 1110 # url: "www.veritone.com", 1111 # 1112 # checkPermissions: true, 1113 # 1114 # oauth2RedirectUrls: [], 1115 # 1116 # permissionsRequired: []}) { 1117 # 1118 # id 1119 # 1120 # name 1121 # 1122 # url 1123 # 1124 # } 1125 # } 1126 # Response: 1127 # { 1128 # 1129 # "data": { 1130 # 1131 # "updateApplication": { 1132 # 1133 # "id": "7e863365-94de-4ac9-8826-df1a398c9a21", 1134 # 1135 # "name": "example123", 1136 # 1137 # "url": "www.veritone.com" 1138 # 1139 # } 1140 # 1141 # } 1142 # } 1143 # 1144 # Arguments 1145 # input: Fields required to update a custom application. 1146 UpdateApplication): Application ( : 1147 1148 # Deprecated: Application Components are no longer supported. 1149 # Instead, use packageUpdate or packageUpdateResources to associate 1150 # resources with the application's package. 1151 ( 1152 UpdateApplicationComponent! : 1153 ): ApplicationComponent! 1154 1155 # Update an application's billing plan id for an organization. 1156 # Example: 1157 # Request: 1158 # mutation { 1159 # 1160 # updateApplicationBillingPlanId( 1161 # 1162 # applicationId:"32babe30-fb42-11e4-89bc-27b69865858a", 1163 # 1164 # organizationId: "35521", 1165 # 1166 # billingPlanId: "123") { 1167 # 1168 # applicationId 1169 # 1170 # billingDirty 1171 # 1172 # } 1173 # } 1174 # Response: 1175 # { 1176 # 1177 # "data": { 1178 # 1179 # "updateApplicationBillingPlanId": { 1180 # 1181 # "applicationId": "32babe30-fb42-11e4-89bc-27b69865858a", 1182 # 1183 # "billingDirty": true 1184 # 1185 # } 1186 # 1187 # } 1188 # } 1189 ( 1190 ID!, : 1191 ID!, : 1192 String! : 1193 ): ApplicationBillingPlanId! 1194 1195 # Update an application's billing dirty for an organization. 1196 # Example: 1197 # Request: 1198 # mutation { 1199 # 1200 # updateApplicationBillingDirty( 1201 # 1202 # applicationId: "32babe30-fb42-11e4-89bc-27b69865858a", 1203 # 1204 # organizationId: "35521", 1205 # 1206 # billingDirty: false) { 1207 # 1208 # applicationId 1209 # 1210 # billingDirty 1211 # 1212 # } 1213 # } 1214 # Response: 1215 # { 1216 # 1217 # "data": { 1218 # 1219 # "updateApplicationBillingDirty": { 1220 # 1221 # "applicationId": "32babe30-fb42-11e4-89bc-27b69865858a", 1222 # 1223 # "billingDirty": false 1224 # 1225 # } 1226 # 1227 # } 1228 # } 1229 ( 1230 ID!, : 1231 ID!, : 1232 Boolean! : 1233 ): ApplicationBillingDirty! 1234 1235 # Bulk delete context menu extensions. 1236 # Example: 1237 # Request: 1238 # mutation { 1239 # 1240 # bulkDeleteContextMenuExtensions(input: { 1241 # 1242 # ids: []}) { 1243 # 1244 # mentions{ 1245 # 1246 # id 1247 # 1248 # } 1249 # 1250 # } 1251 # } 1252 # Response: 1253 # { 1254 # 1255 # "data": { 1256 # 1257 # "bulkDeleteContextMenuExtensions": { 1258 # 1259 # "mentions": [] 1260 # 1261 # } 1262 # 1263 # } 1264 # } 1265 FileApplication!): Application ( : 1266 1267 UnfileApplication!): Application ( : 1268 1269 ( 1270 BulkDeleteContextMenuExtensions : 1271 ): ContextMenuExtensionList 1272 1273 # Update an organization 1274 # Example: 1275 # Request: 1276 # mutation { 1277 # 1278 # updateOrganization(input: { 1279 # 1280 # id: "35521", 1281 # 1282 # indexTDOsByDefault: true}) { 1283 # 1284 # id 1285 # 1286 # status 1287 # 1288 # } 1289 # } 1290 # Response: 1291 # { 1292 # 1293 # "data": { 1294 # 1295 # "updateOrganization": { 1296 # 1297 # "id": "35521", 1298 # 1299 # "status": "active" 1300 # 1301 # } 1302 # 1303 # } 1304 # } 1305 # 1306 # Arguments 1307 # input: Fields required to update an organization. 1308 UpdateOrganization!): Organization ( : 1309 1310 # Update organization billing policy. Requires superadmin 1311 # 1312 # Arguments 1313 # planId: External billing plan id. 1314 # targetOrganizationId: Optional organization id, to use when the 1315 # caller is a superadmin from a different org 1316 ( 1317 String!, : 1318 ID : 1319 ): OrganizationBilling 1320 1321 SetEngineWhitelist!): EngineWhitelist ( : 1322 1323 SetEngineBlacklist!): EngineBlacklist ( : 1324 1325 ( 1326 SetEngineBlacklist! : 1327 ): EngineBlacklist 1328 1329 ( 1330 SetEngineBlacklist! : 1331 ): EngineWhitelist 1332 1333 # Create an entity identifier type, such as "face" or "image". 1334 # Entity identifier types are typically created or modified 1335 # only by Veritone engineering. Most libraries and 1336 # entities will use existing entity identifier types. 1337 # Example: 1338 # Request: 1339 # mutation { 1340 # 1341 # createEntityIdentifierType(input: { 1342 # 1343 # label: "example" 1344 # 1345 # labelPlural: "example" 1346 # 1347 # iconClass: null 1348 # 1349 # description: "example" 1350 # 1351 # dataType: text 1352 # 1353 # id: "123"}) { 1354 # 1355 # id 1356 # 1357 # description 1358 # 1359 # } 1360 # } 1361 # Response: 1362 # { 1363 # 1364 # "data": { 1365 # 1366 # "createEntityIdentifierType": { 1367 # 1368 # "id": "123", 1369 # 1370 # "description": null 1371 # 1372 # } 1373 # 1374 # } 1375 # } 1376 # 1377 # Arguments 1378 # input: Fields required to create an entity identifier type. 1379 ( 1380 CreateEntityIdentifierType! : 1381 ): EntityIdentifierType 1382 1383 # Update an entity identifier type. 1384 # Example: 1385 # Request: 1386 # mutation { 1387 # 1388 # updateEntityIdentifierType(input: { 1389 # 1390 # id: "123", 1391 # 1392 # label: "example", 1393 # 1394 # labelPlural: "example" 1395 # 1396 # description: "new description", 1397 # 1398 # dataType: image}) { 1399 # 1400 # id 1401 # 1402 # description 1403 # 1404 # } 1405 # } 1406 # Response: 1407 # { 1408 # 1409 # "data": { 1410 # 1411 # "updateEntityIdentifierType": null 1412 # 1413 # } 1414 # } 1415 # 1416 # Arguments 1417 # input: Fields required to update an entity identifier type. 1418 ( 1419 UpdateEntityIdentifierType! : 1420 ): EntityIdentifierType 1421 1422 # Create a library type, such as "ad" or "people". 1423 # Entity identifier types are typically created or modified 1424 # only by Veritone engineering. Most libraries 1425 # will use existing entity identifier types. 1426 # Example: 1427 # Request: 1428 # mutation { 1429 # 1430 # createLibraryType(input: { 1431 # 1432 # id: "123", 1433 # 1434 # label: "example", 1435 # 1436 # entityIdentifierTypeIds: ["123"], 1437 # 1438 # entityType: { 1439 # 1440 # name: "example", 1441 # 1442 # namePlural: "example", 1443 # 1444 # schema: { 1445 # 1446 # example: "example" }}}) { 1447 # 1448 # id 1449 # 1450 # label 1451 # 1452 # } 1453 # } 1454 # Response: 1455 # { 1456 # 1457 # "data": { 1458 # 1459 # "createLibraryType": { 1460 # 1461 # "id": "123", 1462 # 1463 # "label": "example" 1464 # 1465 # } 1466 # 1467 # } 1468 # } 1469 # 1470 # Arguments 1471 # input: Fields needed to create a new library type. 1472 CreateLibraryType!): LibraryType ( : 1473 1474 # Update a library type. 1475 # Example: 1476 # Request: 1477 # mutation { 1478 # 1479 # updateLibraryType(input: { 1480 # 1481 # id: "123", 1482 # 1483 # label: "example", 1484 # 1485 # entityIdentifierTypeIds: ["123"], 1486 # 1487 # entityType: { 1488 # 1489 # name: "example", 1490 # 1491 # namePlural: "example", 1492 # 1493 # schema: { 1494 # 1495 # example: "new example" }}}) { 1496 # 1497 # id 1498 # 1499 # label 1500 # 1501 # } 1502 # } 1503 # Response: 1504 # { 1505 # 1506 # "data": { 1507 # 1508 # "updateLibraryType": null 1509 # 1510 # } 1511 # } 1512 # 1513 # Arguments 1514 # input: Fields needed to update a library type. 1515 UpdateLibraryType!): LibraryType ( : 1516 1517 # Create a new library. 1518 # Once the library is created, the client can add 1519 # entities and entity identifiers. Note that the 1520 # library type determines what types of entity identifiers 1521 # can be used within the library. 1522 # Example: 1523 # Request: 1524 # mutation { 1525 # 1526 # createLibrary(input: { 1527 # 1528 # name: "example" 1529 # 1530 # applicationId: "32babe30-fb42-11e4-89bc-27b69865858a" 1531 # 1532 # organizationId: "35521" 1533 # 1534 # libraryTypeId: "123" 1535 # 1536 # coverImageUrl: 1537 # "https://edit.co.uk/uploads/2016/12/Image-1-Alternatives-to-stock-photography-Thinkstock.jpg" 1538 # 1539 # description: "example"}) { 1540 # 1541 # id 1542 # 1543 # name 1544 # 1545 # } 1546 # } 1547 # Response: 1548 # { 1549 # 1550 # "data": { 1551 # 1552 # "createLibrary": { 1553 # 1554 # "id": "e0a6e5ad-dec8-49a1-ad33-3f1194c2e599", 1555 # 1556 # "name": "example" 1557 # 1558 # } 1559 # 1560 # } 1561 # } 1562 # 1563 # Arguments 1564 # input: Fields needed to create a new library. 1565 CreateLibrary!): Library ( : 1566 1567 # Update an existing library. 1568 # Example: 1569 # Request: 1570 # mutation { 1571 # 1572 # updateLibrary(input: { 1573 # 1574 # id: "e0a6e5ad-dec8-49a1-ad33-3f1194c2e599", 1575 # 1576 # name: "example" 1577 # 1578 # coverImageUrl: 1579 # "https://edit.co.uk/uploads/2016/12/Image-1-Alternatives-to-stock-photography-Thinkstock.jpg" 1580 # 1581 # description: "new description" 1582 # 1583 # libraryTypeId: "123" 1584 # 1585 # version: 2}) { 1586 # 1587 # id 1588 # 1589 # name 1590 # 1591 # description 1592 # 1593 # } 1594 # } 1595 # Response: 1596 # { 1597 # 1598 # "data": { 1599 # 1600 # "updateLibrary": { 1601 # 1602 # "id": "e0a6e5ad-dec8-49a1-ad33-3f1194c2e599", 1603 # 1604 # "name": "example", 1605 # 1606 # "description": "new description" 1607 # 1608 # } 1609 # 1610 # } 1611 # } 1612 # 1613 # Arguments 1614 # input: Fields needed to update a library 1615 UpdateLibrary!): Library ( : 1616 1617 # Delete a library. This mutation will also delete all entities, 1618 # entity identifiers, library engine models, and associated objects. 1619 # Example: 1620 # Request: 1621 # mutation { 1622 # 1623 # deleteLibrary(id:"d232c90f-ae47-4125-b884-0d35fbed7e5f") { 1624 # 1625 # message 1626 # 1627 # } 1628 # } 1629 # Response: 1630 # { 1631 # 1632 # "data": { 1633 # 1634 # "deleteLibrary": { 1635 # 1636 # "message": "d232c90f-ae47-4125-b884-0d35fbed7e5f deleted" 1637 # 1638 # } 1639 # 1640 # } 1641 # } 1642 # 1643 # Arguments 1644 # id: Provide the ID of the library to delete. 1645 ID!): DeletePayload ( : 1646 1647 # Publish a new version of a library. 1648 # Increments library version by one and trains compatible engines. 1649 # Example: 1650 # Request: 1651 # mutation { 1652 # 1653 # publishLibrary( 1654 # 1655 # id: "e0a6e5ad-dec8-49a1-ad33-3f1194c2e599") { 1656 # 1657 # name 1658 # 1659 # description 1660 # 1661 # version 1662 # 1663 # } 1664 # } 1665 # Response: 1666 # { 1667 # 1668 # "data": { 1669 # 1670 # "publishLibrary": { 1671 # 1672 # "name": "example", 1673 # 1674 # "description": "new description", 1675 # 1676 # "version": 2 1677 # 1678 # } 1679 # 1680 # } 1681 # } 1682 # 1683 # Arguments 1684 # id: ID of the library to publish 1685 ID!): Library ( : 1686 1687 # Create a new entity. 1688 # Example: 1689 # Request: 1690 # mutation { 1691 # 1692 # createEntity(input: { 1693 # 1694 # name: "example", 1695 # 1696 # description: "example", 1697 # 1698 # libraryId: "e0a6e5ad-dec8-49a1-ad33-3f1194c2e599", 1699 # 1700 # jsondata: { 1701 # 1702 # example: "new example" }}) { 1703 # 1704 # id 1705 # 1706 # name 1707 # 1708 # } 1709 # } 1710 # Response: 1711 # { 1712 # 1713 # "data": { 1714 # 1715 # "createEntity": { 1716 # 1717 # "id": "85b700fa-f327-4fea-b94b-ed83054170db", 1718 # 1719 # "name": "example" 1720 # 1721 # } 1722 # 1723 # } 1724 # } 1725 # 1726 # Arguments 1727 # input: Fields required to create a new entity. 1728 CreateEntity!): Entity ( : 1729 1730 # Update an entity. 1731 # Example: 1732 # Request: 1733 # mutation { 1734 # 1735 # updateEntity(input: { 1736 # 1737 # id: "85b700fa-f327-4fea-b94b-ed83054170db", 1738 # 1739 # name: "example", 1740 # 1741 # description: "example", 1742 # 1743 # jsondata: { 1744 # 1745 # example: "updated example" }}) { 1746 # 1747 # id 1748 # 1749 # name 1750 # 1751 # jsondata 1752 # 1753 # } 1754 # } 1755 # Response: 1756 # { 1757 # 1758 # "data": { 1759 # 1760 # "updateEntity": { 1761 # 1762 # "id": "85b700fa-f327-4fea-b94b-ed83054170db", 1763 # 1764 # "name": "example", 1765 # 1766 # "jsondata": { 1767 # 1768 # "example": "updated example" 1769 # 1770 # } 1771 # 1772 # } 1773 # 1774 # } 1775 # } 1776 # 1777 # Arguments 1778 # input: Fields required to update an entity. 1779 UpdateEntity!): Entity ( : 1780 1781 # Delete an entity. This mutation will also delete all associated 1782 # entity identifiers and associated objects. 1783 # Example: 1784 # Request: 1785 # mutation { 1786 # 1787 # deleteEntity(id: "522bc6cf-5b7c-47bd-bd30-10cd77016a49") { 1788 # 1789 # message 1790 # 1791 # } 1792 # } 1793 # Response: 1794 # { 1795 # 1796 # "data": { 1797 # 1798 # "deleteEntity": { 1799 # 1800 # "message": "Entity 522bc6cf-5b7c-47bd-bd30-10cd77016a49 deleted." 1801 # 1802 # } 1803 # 1804 # } 1805 # } 1806 # 1807 # Arguments 1808 # id: Supply the ID of the entity to delete. 1809 ID!): DeletePayload ( : 1810 1811 # Create an entity identifier. 1812 # This mutation accepts file uploads. To use this mutation and upload a file, 1813 # send a multipart form POST containing two parameters: `query`, with the 1814 # GraphQL query, and `file` containing the file itself. 1815 # For more information see the documentation at 1816 # https://veritone-developer.atlassian.net/wiki/spaces/DOC/pages/13893791/GraphQL. 1817 # Example: 1818 # Request: 1819 # mutation { 1820 # 1821 # createEntityIdentifier(input: { 1822 # 1823 # entityId: "85b700fa-f327-4fea-b94b-ed83054170db", 1824 # 1825 # identifierTypeId: "123", 1826 # 1827 # title: "example", 1828 # 1829 # isPriority: false, 1830 # 1831 # contentType: "example", 1832 # 1833 # url: 1834 # "https://edit.co.uk/uploads/2016/12/Image-1-Alternatives-to-stock-photography-Thinkstock.jpg"}) 1835 # { 1836 # 1837 # id 1838 # 1839 # isPriority 1840 # 1841 # } 1842 # } 1843 # Result: 1844 # { 1845 # 1846 # "data": { 1847 # 1848 # "createEntityIdentifier": { 1849 # 1850 # "id": "bf67e595-3666-4a0c-9f4b-0ad99a1770fe", 1851 # 1852 # "isPriority": false, 1853 # 1854 # } 1855 # 1856 # } 1857 # } 1858 # 1859 # Arguments 1860 # input: Fields needed to create an entity identifier. 1861 CreateEntityIdentifier!): EntityIdentifier ( : 1862 1863 # Updates an entity identifier. 1864 # Example: 1865 # Request: 1866 # mutation { 1867 # 1868 # updateEntityIdentifier(input: { 1869 # 1870 # id: "bf67e595-3666-4a0c-9f4b-0ad99a1770fe", 1871 # 1872 # title: "example", 1873 # 1874 # isPriority: true, 1875 # 1876 # url: 1877 # "https://edit.co.uk/uploads/2016/12/Image-1-Alternatives-to-stock-photography-Thinkstock.jpg"}) 1878 # { 1879 # 1880 # id 1881 # 1882 # isPriority 1883 # 1884 # } 1885 # } 1886 # Response: 1887 # { 1888 # 1889 # "data": { 1890 # 1891 # "updateEntityIdentifier": { 1892 # 1893 # "id": "bf67e595-3666-4a0c-9f4b-0ad99a1770fe", 1894 # 1895 # "isPriority": true 1896 # 1897 # } 1898 # 1899 # } 1900 # } 1901 # 1902 # Arguments 1903 # input: Fields required to update an entity identifier. 1904 UpdateEntityIdentifier!): EntityIdentifier ( : 1905 1906 # Delete an entity identifier 1907 # Example: 1908 # Request: 1909 # mutation { 1910 # 1911 # deleteEntityIdentifier(id: "0bda9fa6-9fad-4025-8f03-07cc73321050") { 1912 # 1913 # message 1914 # 1915 # } 1916 # } 1917 # Response: 1918 # { 1919 # 1920 # "data": { 1921 # 1922 # "deleteEntityIdentifier": { 1923 # 1924 # "message": "Entity identifier0bda9fa6-9fad-4025-8f03-07cc73321050 deleted." 1925 # 1926 # } 1927 # 1928 # } 1929 # } 1930 # 1931 # Arguments 1932 # id: Supply the ID of the entity identifier to delete. 1933 ID!): DeletePayload ( : 1934 1935 # Create a library engine model. 1936 # Example: 1937 # Request: 1938 # mutation { 1939 # 1940 # createLibraryEngineModel(input: { 1941 # 1942 # engineId: "1", 1943 # 1944 # libraryId: "e0a6e5ad-dec8-49a1-ad33-3f1194c2e599", 1945 # 1946 # trainJobId: "123", 1947 # 1948 # dataUrl: 1949 # "https://edit.co.uk/uploads/2016/12/Image-1-Alternatives-to-stock-photography-Thinkstock.jpg"}) 1950 # { 1951 # 1952 # id 1953 # 1954 # engineId 1955 # 1956 # } 1957 # } 1958 # Response: 1959 # { 1960 # 1961 # "data": { 1962 # 1963 # "createLibraryEngineModel": { 1964 # 1965 # "id": "0e9c25f7-d994-4363-af41-c00b37de9a1b", 1966 # 1967 # "engineId": "1" 1968 # 1969 # } 1970 # 1971 # } 1972 # } 1973 # 1974 # Arguments 1975 # input: Fields required to create a library engine model. 1976 ( 1977 CreateLibraryEngineModel! : 1978 ): LibraryEngineModel 1979 1980 # Update a library engine model 1981 # Example: 1982 # Request: 1983 # mutation { 1984 # 1985 # updateLibraryEngineModel(input: { 1986 # 1987 # id: "0e9c25f7-d994-4363-af41-c00b37de9a1b", 1988 # 1989 # trainJobId: "1234"}) { 1990 # 1991 # trainJobId 1992 # 1993 # } 1994 # } 1995 # Response: 1996 # { 1997 # 1998 # "data": { 1999 # 2000 # "updateLibraryEngineModel": { 2001 # 2002 # "trainJobId": "1234" 2003 # 2004 # } 2005 # 2006 # } 2007 # } 2008 # 2009 # Arguments 2010 # input: Fields required to update a library engine model 2011 ( 2012 UpdateLibraryEngineModel! : 2013 ): LibraryEngineModel 2014 2015 # Delete a library engine model 2016 # Example: 2017 # Request: 2018 # mutation { 2019 # 2020 # deleteLibraryEngineModel( 2021 # 2022 # id: "0e9c25f7-d994-4363-af41-c00b37de9a1b") { 2023 # 2024 # id 2025 # 2026 # message 2027 # 2028 # } 2029 # } 2030 # Response: 2031 # { 2032 # 2033 # "data": { 2034 # 2035 # "deleteLibraryEngineModel": { 2036 # 2037 # "id": "0e9c25f7-d994-4363-af41-c00b37de9a1b", 2038 # 2039 # "message": "library engine model 0e9c25f7-d994-4363-af41-c00b37de9a1b deleted." 2040 # 2041 # } 2042 # 2043 # } 2044 # } 2045 # 2046 # Arguments 2047 # id: Supply the ID of the library engine model to delete. 2048 ID!): DeletePayload ( : 2049 2050 # Create a library collaborator. 2051 # Example: 2052 # Request: 2053 # mutation { 2054 # 2055 # createLibraryCollaborator(input: { 2056 # 2057 # libraryId: "e0a6e5ad-dec8-49a1-ad33-3f1194c2e599", 2058 # 2059 # organizationId: 35521, 2060 # 2061 # permissions: ["job.create"]}) { 2062 # 2063 # organizationId 2064 # 2065 # status 2066 # 2067 # } 2068 # } 2069 # Response: 2070 # { 2071 # 2072 # "data": { 2073 # 2074 # "createLibraryCollaborator": { 2075 # 2076 # "organizationId": "35521", 2077 # 2078 # "status": "active" 2079 # 2080 # } 2081 # 2082 # } 2083 # } 2084 # 2085 # Arguments 2086 # input: Fields required to create a library collaborator. 2087 ( 2088 CreateLibraryCollaborator! : 2089 ): LibraryCollaborator 2090 2091 # Update a library collaborator 2092 # Example: 2093 # Request: 2094 # mutation { 2095 # 2096 # updateLibraryCollaborator(input: { 2097 # 2098 # libraryId: "e0a6e5ad-dec8-49a1-ad33-3f1194c2e599", 2099 # 2100 # organizationId: 35521, 2101 # 2102 # permissions: ["job.create", "job.read"]}) { 2103 # 2104 # status 2105 # 2106 # permissions 2107 # 2108 # } 2109 # } 2110 # Response: 2111 # { 2112 # 2113 # "data": { 2114 # 2115 # "updateLibraryCollaborator": { 2116 # 2117 # "status": "active", 2118 # 2119 # "permissions": [ 2120 # 2121 # "job.create" 2122 # 2123 # ] 2124 # 2125 # } 2126 # 2127 # } 2128 # } 2129 # 2130 # Arguments 2131 # input: Fields required to update a library collaborator 2132 ( 2133 UpdateLibraryCollaborator! : 2134 ): LibraryCollaborator 2135 2136 # Delete a library collaborator 2137 # Example: 2138 # Request: 2139 # mutation { 2140 # 2141 # deleteLibraryCollaborator( 2142 # 2143 # libraryId: "e0a6e5ad-dec8-49a1-ad33-3f1194c2e599", 2144 # 2145 # organizationId: "35521") { 2146 # 2147 # id 2148 # 2149 # message 2150 # 2151 # } 2152 # } 2153 # Response: 2154 # { 2155 # 2156 # "data": { 2157 # 2158 # "deleteLibraryCollaborator": { 2159 # 2160 # "id": "e0a6e5ad-dec8-49a1-ad33-3f1194c2e599 - 35521", 2161 # 2162 # "message": "library collaborator model libraryId: 2163 # e0a6e5ad-dec8-49a1-ad33-3f1194c2e599, organizationId: 35521 deleted." 2164 # 2165 # } 2166 # 2167 # } 2168 # } 2169 # 2170 # Arguments 2171 # libraryId: Supply the ID of the library collaborator to delete. 2172 # organizationId: Supply the ID of the library collaborator to 2173 # delete. 2174 ( 2175 ID!, : 2176 ID! : 2177 ): DeletePayload 2178 2179 # Create Dataset Library Configuration 2180 # Example 2181 # Request: 2182 # mutation { 2183 # 2184 # createLibraryConfiguration(input: { 2185 # 2186 # libraryId: "e0a6e5ad-dec8-49a1-ad33-3f1194c2e599", 2187 # 2188 # engineCategoryId: "c1e5f177-ca10-433a-a155-bb5e4872cf9a", 2189 # 2190 # targetEngineIds: ["1"], 2191 # 2192 # confidence: {}}) { 2193 # 2194 # id 2195 # 2196 # } 2197 # } 2198 # Response: 2199 # { 2200 # 2201 # "data": { 2202 # 2203 # "createLibraryConfiguration": { 2204 # 2205 # "id": "7396e71b-db5a-4c4c-bf6f-4fc66a5a07f7" 2206 # 2207 # } 2208 # 2209 # } 2210 # } 2211 # 2212 # Arguments 2213 # input: Fields required to create library configuration 2214 ( 2215 CreateLibraryConfiguration! : 2216 ): LibraryConfiguration 2217 2218 # Update Dataset Library Configuration 2219 # 2220 # Arguments 2221 # input: Fields required to create library configuration 2222 ( 2223 UpdateLibraryConfiguration! : 2224 ): LibraryConfiguration 2225 2226 # Delete Dataset Library Configuration 2227 # 2228 # Arguments 2229 # id: Supply configuration ID to delete. 2230 ID!): DeletePayload ( : 2231 2232 # Add recordings to a dataset library 2233 # Example: 2234 # Request: 2235 # mutation { 2236 # 2237 # addLibraryDataset(input: { 2238 # 2239 # libraryId: "e0a6e5ad-dec8-49a1-ad33-3f1194c2e599", 2240 # 2241 # tdoIds: ["1570899328"]}) { 2242 # 2243 # tdoIds 2244 # 2245 # } 2246 # } 2247 # Response: 2248 # { 2249 # 2250 # "data": { 2251 # 2252 # "addLibraryDataset": { 2253 # 2254 # "tdoIds": [ 2255 # 2256 # "1570899328" 2257 # 2258 # ] 2259 # 2260 # } 2261 # 2262 # } 2263 # } 2264 AddLibraryDataset!): LibraryDataset ( : 2265 2266 # Remove recordings from a dataset library 2267 # Example: 2268 # Request: 2269 # mutation { 2270 # 2271 # deleteLibraryDataset(input: { 2272 # 2273 # libraryId: "e0a6e5ad-dec8-49a1-ad33-3f1194c2e599", 2274 # 2275 # tdoIds: ["1570899328"]}) { 2276 # 2277 # tdoIds 2278 # 2279 # message 2280 # 2281 # } 2282 # } 2283 # Response: 2284 # { 2285 # 2286 # "data": { 2287 # 2288 # "deleteLibraryDataset": { 2289 # 2290 # "tdoIds": [ 2291 # 2292 # "1570899328" 2293 # 2294 # ], 2295 # 2296 # "message": "[1570899328] are removed from e0a6e5ad-dec8-49a1-ad33-3f1194c2e599" 2297 # 2298 # } 2299 # 2300 # } 2301 # } 2302 DeleteLibraryDataset!): DeleteLibraryDatasetPayload ( : 2303 2304 # Apply an application workflow step, such as "submit" or "approve" 2305 # Example: 2306 # Request: 2307 # mutation { 2308 # 2309 # applicationWorkflow(input: { 2310 # 2311 # id: "dcc6a08e-1114-43e9-b74a-2b469a32f437", 2312 # 2313 # action: submit}) { 2314 # 2315 # id 2316 # 2317 # name 2318 # 2319 # } 2320 # } 2321 # Response: 2322 # { 2323 # 2324 # "data": { 2325 # 2326 # "applicationWorkflow": { 2327 # 2328 # "id": "dcc6a08e-1114-43e9-b74a-2b469a32f437", 2329 # 2330 # "name": "appexamplebill2" 2331 # 2332 # } 2333 # 2334 # } 2335 # } 2336 # 2337 # Arguments 2338 # input: Fields required to apply a application workflow step 2339 ApplicationWorkflow): Application ( : 2340 2341 # Apply an engine workflow step, such as "submit" or "approve" 2342 # 2343 # Arguments 2344 # input: Fields required to apply a engine workflow step 2345 EngineWorkflow): Engine ( : 2346 2347 # Creates a widget associated with a collection 2348 # Example: 2349 # Request: 2350 # mutation { 2351 # 2352 # createWidget(input:{ 2353 # 2354 # collectionId: "242361", 2355 # 2356 # name: "example", 2357 # 2358 # nextButtonColor: "000000"}) { 2359 # 2360 # id 2361 # 2362 # name 2363 # 2364 # } 2365 # } 2366 # Response: 2367 # { 2368 # 2369 # "data": { 2370 # 2371 # "createWidget": { 2372 # 2373 # "id": "fwSwWdRWTm2fdFMoPQDKkg", 2374 # 2375 # "name": "" 2376 # 2377 # } 2378 # 2379 # } 2380 # } 2381 # 2382 # Arguments 2383 # input: Fields needed to create a new widget 2384 CreateWidget): Widget ( : 2385 2386 # Updates a widget 2387 # Example: 2388 # Request: 2389 # mutation { 2390 # 2391 # updateWidget(input: { 2392 # 2393 # id: "fwSwWdRWTm2fdFMoPQDKkg", 2394 # 2395 # name: "new example name"}) { 2396 # 2397 # id 2398 # 2399 # name 2400 # 2401 # } 2402 # } 2403 # Response: 2404 # { 2405 # 2406 # "data": { 2407 # 2408 # "updateWidget": { 2409 # 2410 # "id": "fwSwWdRWTm2fdFMoPQDKkg", 2411 # 2412 # "name": "new example name" 2413 # 2414 # } 2415 # 2416 # } 2417 # } 2418 # 2419 # Arguments 2420 # input: Fields needed to update a widget 2421 UpdateWidget): Widget ( : 2422 2423 # Create a new user within an organization. 2424 # Example: 2425 # Request: 2426 # mutation { 2427 # 2428 # createUser(input: { 2429 # 2430 # name: "example", 2431 # 2432 # password: "example", 2433 # 2434 # organizationId: "35521"}) { 2435 # 2436 # id 2437 # 2438 # } 2439 # } 2440 # Response: 2441 # { 2442 # 2443 # "data": { 2444 # 2445 # "createUser": { 2446 # 2447 # "id": "267de7e1-efb2-444a-a524-210328b78503" 2448 # 2449 # } 2450 # 2451 # } 2452 # } 2453 # 2454 # Arguments 2455 # input: Fields needed to create a user. 2456 CreateUser): User ( : 2457 2458 # Create a new organization. 2459 # 2460 # Arguments 2461 # input: Fields needed to create an organization. Requires 2462 # superadmin 2463 CreateOrganization!): Organization ( : 2464 2465 # Update an existing user' 2466 # Example: 2467 # Request: 2468 # mutation { 2469 # 2470 # updateUser(input: { 2471 # 2472 # id: "267de7e1-efb2-444a-a524-210328b78503", 2473 # 2474 # firstName: "example", 2475 # 2476 # lastName: "example"}) { 2477 # 2478 # firstName 2479 # 2480 # lastName 2481 # 2482 # } 2483 # } 2484 # Response: 2485 # { 2486 # 2487 # "data": { 2488 # 2489 # "updateUser": { 2490 # 2491 # "firstName": "example", 2492 # 2493 # "lastName": "example" 2494 # 2495 # } 2496 # 2497 # } 2498 # } 2499 # 2500 # Arguments 2501 # input: Fields needed to update a user 2502 UpdateUser): User ( : 2503 2504 # Add an existing user to an organization. 2505 # One of the user identifiers (userId or userName) has to be specified. 2506 # 2507 # Arguments 2508 # userId: UUID of user 2509 # userName: User name to uniquely identify a user 2510 # organizationGuid: UUID of organization 2511 # roleIds: Role Ids. 2512 # priority: Priority of the organization. If not provided, max 2513 # priority plus one will be used. 2514 ( 2515 ID, : 2516 String, : 2517 ID!, : 2518 ID], : [ 2519 Int : 2520 ): User 2521 2522 # Remove an existing user for organization. 2523 # One of the user identifiers (userId or userName) has to be specified. 2524 # The operation fails if the organization is the last one to which user belongs. 2525 # 2526 # Arguments 2527 # userId: UUID of user 2528 # userName: User name to uniquely identify a user 2529 # organizationGuid: UUID of organization 2530 ( 2531 ID, : 2532 String, : 2533 ID! : 2534 ): User 2535 2536 # #Switch user to organization 2537 # 2538 # Arguments 2539 # token: User token that should be logout 2540 # userName: The user login name -- typically, email address. 2541 # organizationGuid: GUID of organization. 2542 ( 2543 String!, : 2544 String!, : 2545 ID! : 2546 ): LoginInfo 2547 2548 # Force a user to update password on next login. 2549 # This mutation is used by administrators. 2550 # Example: 2551 # Request: 2552 # mutation { 2553 # 2554 # createPasswordUpdateRequest(input: { 2555 # 2556 # id: "267de7e1-efb2-444a-a524-210328b78503", 2557 # 2558 # skipPasswordResetEmail: true}) { 2559 # 2560 # id 2561 # 2562 # name 2563 # 2564 # } 2565 # } 2566 # Response: 2567 # { 2568 # 2569 # "data": { 2570 # 2571 # "createPasswordUpdateRequest": { 2572 # 2573 # "id": "267de7e1-efb2-444a-a524-210328b78503", 2574 # 2575 # "name": "example" 2576 # 2577 # } 2578 # 2579 # } 2580 # } 2581 # 2582 # Arguments 2583 # input: Fields needed to create a password update request 2584 ( 2585 CreatePasswordUpdateRequest : 2586 ): User 2587 2588 # Create a password reset request. This mutation is used on behalf 2589 # of a user who needs to reset their password. It operates only on 2590 # the currently authenicated user (based on the authentication token provided). 2591 # Example: 2592 # Request: 2593 # mutation { 2594 # 2595 # createPasswordResetRequest(input: { 2596 # 2597 # userName: "example", 2598 # 2599 # skipPasswordResetEmail:true}) { 2600 # 2601 # message 2602 # 2603 # } 2604 # } 2605 # Response: 2606 # { 2607 # 2608 # "data": { 2609 # 2610 # "createPasswordResetRequest": { 2611 # 2612 # "message": "Reset request issued for example. Email will not be sent." 2613 # 2614 # } 2615 # 2616 # } 2617 # } 2618 ( 2619 CreatePasswordResetRequest : 2620 ): CreatePasswordResetRequestPayload 2621 2622 # Update the current authenticated user 2623 # Example: 2624 # Request: 2625 # mutation { 2626 # 2627 # updateCurrentUser(input: { 2628 # 2629 # title: "undefined"}) { 2630 # 2631 # id 2632 # 2633 # } 2634 # } 2635 # Response: 2636 # { 2637 # 2638 # "data": { 2639 # 2640 # "updateCurrentUser": { 2641 # 2642 # "id": "59cb4e74-7c31-4267-b91e-d4600bc08008" 2643 # 2644 # } 2645 # 2646 # } 2647 # } 2648 UpdateCurrentUser!): User! ( : 2649 2650 # Get password token info for current user 2651 # Example: 2652 # Request: 2653 # mutation { 2654 # 2655 # getCurrentUserPasswordToken(input: { 2656 # 2657 # password: "Example password"}) { 2658 # 2659 # passwordToken 2660 # 2661 # } 2662 # } 2663 # Response: 2664 # { 2665 # 2666 # "data": { 2667 # 2668 # "getCurrentUserPasswordToken": { 2669 # 2670 # "passwordToken": "e4cb86c7-34a4-4a52-b458-3ebbb2cca9c3" 2671 # 2672 # } 2673 # 2674 # } 2675 # } 2676 ( 2677 GetCurrentUserPasswordToken! : 2678 ): PasswordTokenInfo! 2679 2680 # Change the current authenticated user's password 2681 # 2682 # Arguments 2683 # input: Fields needed to change password 2684 ChangePassword!): User ( : 2685 2686 # Delete a user 2687 # Example: 2688 # Request: 2689 # mutation { 2690 # 2691 # deleteUser( 2692 # 2693 # id: "267de7e1-efb2-444a-a524-210328b78503") { 2694 # 2695 # message 2696 # 2697 # } 2698 # } 2699 # Response: 2700 # { 2701 # 2702 # "data": { 2703 # 2704 # "deleteUser": { 2705 # 2706 # "message": null 2707 # 2708 # } 2709 # 2710 # } 2711 # } 2712 # 2713 # Arguments 2714 # id: Supply the ID of the user to delete. 2715 ID!): DeletePayload ( : 2716 2717 # Create a structured data registry schema metadata. 2718 # Example: 2719 # Request: 2720 # mutation { 2721 # 2722 # createDataRegistry(input: { 2723 # 2724 # name: "example", 2725 # 2726 # description: "example" 2727 # 2728 # source: "example"}) { 2729 # 2730 # id 2731 # 2732 # organizationId 2733 # 2734 # } 2735 # } 2736 # Response: 2737 # { 2738 # 2739 # "data": { 2740 # 2741 # "createDataRegistry": { 2742 # 2743 # "id": "230f95e4-95c9-47c4-a845-61ca67ad6ba6", 2744 # 2745 # "organizationId": "35521" 2746 # 2747 # } 2748 # 2749 # } 2750 # } 2751 CreateDataRegistry!): DataRegistry ( : 2752 2753 # Update a structured data registry schema metadata. 2754 # Example: 2755 # Request: 2756 # mutation { 2757 # 2758 # updateDataRegistry(input: { 2759 # 2760 # id: "230f95e4-95c9-47c4-a845-61ca67ad6ba6" 2761 # 2762 # name: "example" 2763 # 2764 # description: "example" 2765 # 2766 # source: "new source"}) { 2767 # 2768 # id 2769 # 2770 # source 2771 # 2772 # } 2773 # } 2774 # Response: 2775 # { 2776 # 2777 # "data": { 2778 # 2779 # "updateDataRegistry": { 2780 # 2781 # "id": "230f95e4-95c9-47c4-a845-61ca67ad6ba6", 2782 # 2783 # "source": "new source" 2784 # 2785 # } 2786 # 2787 # } 2788 # } 2789 UpdateDataRegistry!): DataRegistry ( : 2790 2791 # Create a schema record. 2792 # Example: 2793 # Request: 2794 # mutation { 2795 # 2796 # createSchema(input: { 2797 # 2798 # id: "450f95e4-95c9-47c4-a845-62ca67ad6ea6", 2799 # 2800 # dataRegistryId: "230f95e4-95c9-47c4-a845-61ca67ad6ba6", 2801 # 2802 # status: published, 2803 # 2804 # definition: { 2805 # 2806 # example: "example" 2807 # 2808 # }, 2809 # 2810 # majorVersion: 1, 2811 # 2812 # minorVersion: 2 2813 # 2814 # }) { 2815 # 2816 # id 2817 # 2818 # } 2819 # } 2820 # Response: 2821 # { 2822 # 2823 # "data": { 2824 # 2825 # "createSchema": { 2826 # 2827 # "id": "230f95e4-95c9-47c4-a845-61ca67ad6ba6", 2828 # 2829 # } 2830 # 2831 # } 2832 # } 2833 CreateSchema!): Schema ( : 2834 2835 # Update a structured data registry schema. 2836 # Example: 2837 # Request: 2838 # mutation { 2839 # 2840 # upsertSchemaDraft(input: { 2841 # 2842 # dataRegistryId: "230f95e4-95c9-47c4-a845-61ca67ad6ba6", 2843 # 2844 # schema: { 2845 # 2846 # example: "example" 2847 # 2848 # }}) { 2849 # 2850 # id 2851 # 2852 # } 2853 # } 2854 # Response: 2855 # { 2856 # 2857 # "data": { 2858 # 2859 # "upsertSchemaDraft": { 2860 # 2861 # "id": "0bd05e43-ddac-4b1a-9238-f3b177439b91" 2862 # 2863 # } 2864 # 2865 # } 2866 # } 2867 UpsertSchemaDraft!): Schema ( : 2868 2869 # Update the state of a schema 2870 # Example: 2871 # Request: 2872 # mutation { 2873 # 2874 # updateSchemaState(input: { 2875 # 2876 # id: "0bd05e43-ddac-4b1a-9238-f3b177439b91", 2877 # 2878 # status: deleted}) { 2879 # 2880 # id 2881 # 2882 # } 2883 # } 2884 # Response: 2885 # { 2886 # 2887 # "data": { 2888 # 2889 # "updateSchemaState": { 2890 # 2891 # "id": "0bd05e43-ddac-4b1a-9238-f3b177439b91" 2892 # 2893 # } 2894 # 2895 # } 2896 # } 2897 UpdateSchemaState!): Schema ( : 2898 2899 # Create (ingest) a structured data object 2900 # Example: 2901 # Request: 2902 # mutation { 2903 # 2904 # createStructuredData(input: { 2905 # 2906 # schemaId: "b79b7ff3-0b80-4d7c-ac51-d5f3459d13fa", 2907 # 2908 # data: { 2909 # 2910 # example: "example" 2911 # 2912 # }}) { 2913 # 2914 # id 2915 # 2916 # } 2917 # } 2918 # Response: 2919 # { 2920 # 2921 # "data": { 2922 # 2923 # "createStructuredData": { 2924 # 2925 # "id": "e180f94f-866e-4454-92f9-7ee20d6448fa" 2926 # 2927 # } 2928 # 2929 # } 2930 # } 2931 CreateStructuredData!): StructuredData ( : 2932 2933 # Delete a structured data object 2934 # Example: 2935 # Request: 2936 # mutation { 2937 # 2938 # deleteStructuredData(input:{ 2939 # 2940 # id: "e180f94f-866e-4454-92f9-7ee20d6448fa", 2941 # 2942 # schemaId: "b79b7ff3-0b80-4d7c-ac51-d5f3459d13fa"}) { 2943 # 2944 # message 2945 # 2946 # } 2947 # } 2948 # Response: 2949 # { 2950 # 2951 # "data": { 2952 # 2953 # "deleteStructuredData": { 2954 # 2955 # "message": null 2956 # 2957 # } 2958 # 2959 # } 2960 # } 2961 DeleteStructuredData!): DeletePayload ( : 2962 2963 # Create (ingest) a structured data object 2964 # Example: 2965 # Request: 2966 # mutation { 2967 # 2968 # createCollection(input: { 2969 # 2970 # name: "example", 2971 # 2972 # folderDescription: "example", 2973 # 2974 # image:"", 2975 # 2976 # parentFolderId: "d551fbd6-7354-4b0e-abfb-654ab8583be2"}) { 2977 # 2978 # id 2979 # 2980 # } 2981 # } 2982 # Response: 2983 # { 2984 # 2985 # "data": { 2986 # 2987 # "createCollection": { 2988 # 2989 # "id": "242361" 2990 # 2991 # } 2992 # 2993 # } 2994 # } 2995 # 2996 # Arguments 2997 # input: Fields required to create new collection 2998 CreateCollection): Collection ( : 2999 3000 # Update a collection 3001 # Example: 3002 # Request: 3003 # mutation { 3004 # 3005 # updateCollection(input: { 3006 # 3007 # folderId: "242361" 3008 # 3009 # name: "new name" 3010 # 3011 # folderDescription: "new description"}) { 3012 # 3013 # id 3014 # 3015 # name 3016 # 3017 # } 3018 # } 3019 # Response: 3020 # { 3021 # 3022 # "data": { 3023 # 3024 # "updateCollection": { 3025 # 3026 # "id": "242361", 3027 # 3028 # "name": "new name" 3029 # 3030 # } 3031 # 3032 # } 3033 # } 3034 # 3035 # Arguments 3036 # input: Fields needed to update a collection 3037 UpdateCollection): Collection ( : 3038 3039 # Delete Collection 3040 # Example: 3041 # Request: 3042 # mutation { 3043 # 3044 # deleteCollection( 3045 # 3046 # id: "242361") { 3047 # 3048 # message 3049 # 3050 # } 3051 # } 3052 # Response: 3053 # { 3054 # 3055 # "data": { 3056 # 3057 # "deleteCollection": { 3058 # 3059 # "message": "Deleted Successfully" 3060 # 3061 # } 3062 # 3063 # } 3064 # } 3065 # 3066 # Arguments 3067 # id: Supply the ID of the folder or collection to delete 3068 ID, : ID): DeletePayload ( : 3069 3070 # Share a collection, allowing other organizations to view the data 3071 # it contains. 3072 # Example: 3073 # Request: 3074 # mutation { 3075 # 3076 # shareCollection(input: { 3077 # 3078 # folderId: "242599", 3079 # 3080 # shareMessage: "example", 3081 # 3082 # recipients: [] }) { 3083 # 3084 # id 3085 # 3086 # } 3087 # } 3088 # Response: 3089 # { 3090 # 3091 # "data": { 3092 # 3093 # "shareCollection": { 3094 # 3095 # "id": "FhQrlAwfRMaTy0blR_eHRw" 3096 # 3097 # } 3098 # 3099 # } 3100 # } 3101 # 3102 # Arguments 3103 # input: Fields needed to share a collection 3104 ShareCollection): Share ( : 3105 3106 # Arguments 3107 # shareId: ID of the shared collection to update 3108 # mentionIds: List of mentionIds to add or remove 3109 # type: Indicates whether or not the mentions are to be added or 3110 # deleted 3111 ( 3112 String!, : 3113 ID!], : [ 3114 SharedCollectionUpdateType! : 3115 ): Share 3116 3117 ( 3118 UpdateSharedCollectionHistory : 3119 ): SharedCollectionHistory 3120 3121 # Share a mention from a collection 3122 # 3123 # Arguments 3124 # input: Fields needed to share a mention 3125 ( 3126 ShareMentionFromCollection : 3127 ): Share 3128 3129 # Share mention 3130 ShareMention): Share ( : 3131 3132 # Share mentions in bulk 3133 ShareMentionInBulk): [Share] ( : 3134 3135 # Add a mention to a collection 3136 # 3137 # Arguments 3138 # input: Fields needed to add a mention to a collection 3139 CollectionMentionInput): CollectionMention ( : 3140 3141 # Arguments 3142 # input: Fields needed to add mentions to a collection 3143 ( 3144 CreateCollectionMentions : 3145 ): [CollectionMention!]! 3146 3147 # Update a mention in a collection 3148 # 3149 # Arguments 3150 # input: Fields needed to add mentions to a collection 3151 ( 3152 UpdateCollectionMention! : 3153 ): CollectionMention! 3154 3155 # Remove a mention from a collection 3156 # 3157 # Arguments 3158 # input: Fields needed to delete a mention from a collection 3159 CollectionMentionInput): CollectionMention ( : 3160 3161 # Create a new folder 3162 # Example: 3163 # Request: 3164 # mutation { 3165 # 3166 # createFolder(input: { 3167 # 3168 # name: "example", 3169 # 3170 # description: "example", 3171 # 3172 # parentId: "2ac28573-917a-4c4b-be91-a0ac64cbc982", 3173 # 3174 # rootFolderType:watchlist}) { 3175 # 3176 # id 3177 # 3178 # name 3179 # 3180 # } 3181 # } 3182 # Response: 3183 # { 3184 # 3185 # "data": { 3186 # 3187 # "createFolder": { 3188 # 3189 # "id": "d551fbd6-7354-4b0e-abfb-654ab8583be2", 3190 # 3191 # "name": "example" 3192 # 3193 # } 3194 # 3195 # } 3196 # } 3197 # 3198 # Arguments 3199 # input: Fields needed to create a new folder. 3200 CreateFolder): Folder ( : 3201 3202 # Create a new PlatformVersion 3203 # Example: 3204 # Request: 3205 # mutation { 3206 # 3207 # addPlatformVersion(input: { 3208 # 3209 # version: "1.2.0" 3210 # 3211 # manifestUrl: "https://s3.example.com/aiware/versions/1.2.0/manifest.yaml" 3212 # 3213 # changeLogUrl: "https://s3.example.com/aiware/versions/1.2.0/changelog.txt" 3214 # 3215 # highlightsUrl: "https://s3.example.com/aiware/versions/1.2.0/highlights.txt" 3216 # 3217 # }) { 3218 # 3219 # id 3220 # 3221 # version 3222 # 3223 # manifestUrl 3224 # 3225 # changeLogUrl 3226 # 3227 # highlightsUrl 3228 # 3229 # createdAt, 3230 # 3231 # createdBy 3232 # 3233 # } 3234 # } 3235 # Response: 3236 # { 3237 # 3238 # "data": { 3239 # 3240 # "addPlatformVersion": { 3241 # 3242 # "id": "6c6e0f59-5fb5-4179-9f5b-c5f5933d6f9a", 3243 # 3244 # "manifestUrl": "https://s3.example.com/aiware/versions/1.2.0/manifest.yaml" 3245 # 3246 # "changeLogUrl": "https://s3.example.com/aiware/versions/1.2.0/changelog.txt" 3247 # 3248 # "highlightsUrl": "https://s3.example.com/aiware/versions/1.2.0/highlights.txt" 3249 # 3250 # "createAt": "2023-05-10", 3251 # 3252 # "createdBy": "1c2e7692-8206-4118-bd38-bb61aa3fb248" 3253 # 3254 # } 3255 # 3256 # } 3257 # } 3258 # 3259 # Arguments 3260 # input: Fields needed to create a new aiWARE platform version. 3261 PlatformVersionInput): PlatformVersion ( : 3262 3263 # Set the current PlatformVersion 3264 # Example: 3265 # Request: 3266 # mutation { 3267 # 3268 # setCurrentPlatformVersion(input: { 3269 # 3270 # version: "1.2.0" 3271 # 3272 # }) { 3273 # 3274 # id 3275 # 3276 # version 3277 # 3278 # manifestUrl 3279 # 3280 # changeLogUrl 3281 # 3282 # highlightsUrl 3283 # 3284 # createdAt, 3285 # 3286 # createdBy, 3287 # 3288 # installedAt, 3289 # 3290 # installedBy 3291 # 3292 # } 3293 # } 3294 # Response: 3295 # { 3296 # 3297 # "data": { 3298 # 3299 # "setCurrentPlatformVersion": { 3300 # 3301 # "id": "6c6e0f59-5fb5-4179-9f5b-c5f5933d6f9a", 3302 # 3303 # "version": "1.2.0", 3304 # 3305 # "manifestUrl": "https://s3.example.com/aiware/versions/1.2.0/manifest.yaml" 3306 # 3307 # "changeLogUrl": "https://s3.example.com/aiware/versions/1.2.0/changelog.txt" 3308 # 3309 # "highlightsUrl": "https://s3.example.com/aiware/versions/1.2.0/highlights.txt" 3310 # 3311 # "createAt": "2023-05-10", 3312 # 3313 # "createdBy": "1c2e7692-8206-4118-bd38-bb61aa3fb248", 3314 # 3315 # "installedAt": "2023-05-15", 3316 # 3317 # "installedBy": "1c2e7692-8206-4118-bd38-bb61aa3fb248" 3318 # 3319 # } 3320 # 3321 # } 3322 # } 3323 # 3324 # Arguments 3325 # version: The version field is required to set the current 3326 # aiWARE platform version 3327 String!): PlatformVersion ( : 3328 3329 # Set the platform properties. 3330 # Example: 3331 # Request: 3332 # mutation { 3333 # 3334 # setPlatformProperties( 3335 # 3336 # properties: { 3337 # 3338 # Environment: "US West", 3339 # 3340 # ClusterSize: "small" } 3341 # 3342 # ) 3343 # } 3344 # Response: 3345 # { 3346 # 3347 # "data": { 3348 # 3349 # "setPlatformProperties": { 3350 # 3351 # "properties": { 3352 # 3353 # "Environment": "US West", 3354 # 3355 # "ClusterSize": "small" 3356 # 3357 # } 3358 # 3359 # } 3360 # 3361 # } 3362 # } 3363 # 3364 # Arguments 3365 # properties: Properties is JSON object that contains the 3366 # properties of the platform that need to be added/ updated. 3367 # So all the other properties in the JSON will be kept 3368 JSONData!): JSONData ( : 3369 3370 # Update an existing folder 3371 # Example: 3372 # Request: 3373 # mutation { 3374 # 3375 # updateFolder(input: { 3376 # 3377 # id: "d551fbd6-7354-4b0e-abfb-654ab8583be2", 3378 # 3379 # name: "new name"}) { 3380 # 3381 # name 3382 # 3383 # } 3384 # } 3385 # Response: 3386 # { 3387 # 3388 # "data": { 3389 # 3390 # "updateFolder": { 3391 # 3392 # "name": "new name" 3393 # 3394 # } 3395 # 3396 # } 3397 # } 3398 # 3399 # Arguments 3400 # input: Fields needed to update a folder. 3401 UpdateFolder): Folder ( : 3402 3403 # Move a folder from one parent folder to another. 3404 # Example: 3405 # Request: 3406 # mutation { 3407 # 3408 # moveFolder(input: { 3409 # 3410 # folderId: "68a5833a-f573-41fe-840a-adb5f6888e2d", 3411 # 3412 # fromFolderId: "3104f61f-4bd1-4175-9fe6-27436d591c54", 3413 # 3414 # toFolderId: "ad7839a7-d088-4202-9db1-5ed4992f915d" 3415 # 3416 # }) { 3417 # 3418 # parentFolderId 3419 # 3420 # } 3421 # } 3422 # Response: 3423 # { 3424 # 3425 # "data": { 3426 # 3427 # "moveFolder": { 3428 # 3429 # "parentFolderId": "ad7839a7-d088-4202-9db1-5ed4992f915d", 3430 # 3431 # } 3432 # 3433 # } 3434 # } 3435 # 3436 # Arguments 3437 # input: Fields needed to move a folder 3438 MoveFolder): Folder ( : 3439 3440 # Move bulk folders to another. 3441 # Example: 3442 # Request: 3443 # mutation { 3444 # 3445 # moveFolders(input: { 3446 # 3447 # folderIds: ["0c4c2765-1817-40a7-bd6d-bf6362a384ba", 3448 # "183f64e7-d519-4948-99d9-977657cce0c8"] 3449 # 3450 # newParentFolderId: "22d2c53a-d33e-47d8-a77e-f64f5c3db7c8" 3451 # 3452 # rootFolderType: cms 3453 # 3454 # }) { 3455 # 3456 # id 3457 # 3458 # name 3459 # 3460 # } 3461 # } 3462 # Response: 3463 # { 3464 # 3465 # "data": { 3466 # 3467 # "moveFolders": { 3468 # 3469 # "organizationId": "7682", 3470 # 3471 # "newParentFolderId: "22d2c53a-d33e-47d8-a77e-f64f5c3db7c8", 3472 # 3473 # "validFolderIds": [ 3474 # 3475 # "0c4c2765-1817-40a7-bd6d-bf6362a384ba", 3476 # 3477 # "183f64e7-d519-4948-99d9-977657cce0c8" 3478 # 3479 # ] 3480 # 3481 # "invalidFolderIds": [], 3482 # 3483 # "message": "Successfully move all input folders to the parent folder." 3484 # 3485 # } 3486 # 3487 # } 3488 # } 3489 # 3490 # Arguments 3491 # input: Fields needed to move a folder 3492 MoveFolders): MoveFoldersPayload ( : 3493 3494 # Delete a folder 3495 # Example: 3496 # Request: 3497 # mutation { 3498 # 3499 # deleteFolder(input: { 3500 # 3501 # id:"d551fbd6-7354-4b0e-abfb-654ab8583be2", 3502 # 3503 # orderIndex: 1}) { 3504 # 3505 # message 3506 # 3507 # } 3508 # } 3509 # Response: 3510 # { 3511 # 3512 # "data": { 3513 # 3514 # "deleteFolder": { 3515 # 3516 # "message": null 3517 # 3518 # } 3519 # 3520 # } 3521 # } 3522 # 3523 # Arguments 3524 # input: Fields needed to delete a folder 3525 DeleteFolder): DeletePayload ( : 3526 3527 # Create a mention comment 3528 # 3529 # Arguments 3530 # input: Fields needed to create a mention comment 3531 CreateMentionComment): MentionComment ( : 3532 3533 # Update a mention comment 3534 # 3535 # Arguments 3536 # input: Fields needed to update a mention comment 3537 UpdateMentionComment): MentionComment ( : 3538 3539 # Delete a mention comment 3540 # 3541 # Arguments 3542 # input: Fields needed to delete a mention comment 3543 DeleteMentionComment): DeletePayload ( : 3544 3545 # Create a mention rating 3546 # 3547 # Arguments 3548 # input: Fields needed to create a mention rating 3549 CreateMentionRating): MentionRating ( : 3550 3551 # Update a mention rating 3552 # 3553 # Arguments 3554 # input: Fields needed to update a mention rating 3555 UpdateMentionRating): MentionRating ( : 3556 3557 # Delete a mention rating 3558 # 3559 # Arguments 3560 # input: Fields needed to delete a mention rating. 3561 DeleteMentionRating): DeletePayload ( : 3562 3563 # Login as a user. This mutation does not require an existing authentication 3564 # context (via `Authorization` header with bearer token, cookie, etc.). 3565 # Instead, the client supplies credentials to this mutation, which then 3566 # authenticates the user and sets up the authentication context. 3567 # The returned tokens can be used to authenticate future requests. 3568 # Example: 3569 # Request: 3570 # mutation { 3571 # 3572 # userLogin(input: { 3573 # 3574 # userName: "example1", 3575 # 3576 # password: "example1"}) { 3577 # 3578 # apiToken 3579 # 3580 # lastLoggedIn 3581 # 3582 # } 3583 # } 3584 # Response: 3585 # { 3586 # 3587 # "data": { 3588 # 3589 # "userLogin": { 3590 # 3591 # "apiToken": null, 3592 # 3593 # "lastLoggedIn": "2021-06-15T02:04:52.000Z", 3594 # 3595 # "token": "a0bbdb23-058c-4b44-901f-aa3efc056a3a" 3596 # 3597 # } 3598 # 3599 # } 3600 # } 3601 # 3602 # Arguments 3603 # input: Fields needed to log in 3604 UserLogin): LoginInfo ( : 3605 3606 # Logout user and invalidate user token 3607 # Example: 3608 # Request: 3609 # mutation { 3610 # 3611 # userLogout( 3612 # 3613 # token: "a5610058-260d-46ac-aa3e-ee529c4feaab") 3614 # } 3615 # Response: 3616 # { 3617 # 3618 # "data": { 3619 # 3620 # "userLogout": null 3621 # 3622 # } 3623 # } 3624 # 3625 # Arguments 3626 # token: User token that should be invalidated 3627 String!): Boolean ( : 3628 3629 # Refreshes the session user from database to reflect the latest changes. It does 3630 # not extend session timeout.\ 3631 # Example: 3632 # Request: 3633 # mutation { 3634 # 3635 # refreshToken( 3636 # 3637 # token: "32abe146-4e07-4f5e-8e1e-f7f2e0142cf7") { 3638 # 3639 # hasPassword 3640 # 3641 # user{id} 3642 # 3643 # } 3644 # } 3645 # Response: 3646 # { 3647 # 3648 # "data": { 3649 # 3650 # "refreshToken": { 3651 # 3652 # "hasPassword": true, 3653 # 3654 # "user": { 3655 # 3656 # "id": "d8304ba1-0d4c-4268-a82c-8c62fd455066" 3657 # 3658 # } 3659 # 3660 # } 3661 # 3662 # } 3663 # } 3664 String!): LoginInfo ( : 3665 3666 # Refresh a user token, returning a fresh token so that the client 3667 # can continue to authenticate to the API.\ 3668 # Example: 3669 # Request: 3670 # mutation { 3671 # 3672 # extendToken( 3673 # 3674 # token: "32abe146-4e07-4f5e-8e1e-f7f2e0142cf7") { 3675 # 3676 # hasPassword 3677 # 3678 # user{id} 3679 # 3680 # } 3681 # } 3682 # Response: 3683 # { 3684 # 3685 # "data": { 3686 # 3687 # "extendToken": { 3688 # 3689 # "hasPassword": true, 3690 # 3691 # "user": { 3692 # 3693 # "id": "d8304ba1-0d4c-4268-a82c-8c62fd455066" 3694 # 3695 # } 3696 # 3697 # } 3698 # 3699 # } 3700 # } 3701 String!): LoginInfo ( : 3702 3703 # Validate a user token. This mutation is used by services to determine 3704 # if the token provided by a given client is valid. 3705 # Example: 3706 # Request: 3707 # mutation { 3708 # 3709 # validateToken( 3710 # 3711 # token: "32abe146-4e07-4f5e-8e1e-f7f2e0142cf7") { 3712 # 3713 # hasPassword 3714 # 3715 # user{id} 3716 # 3717 # } 3718 # } 3719 # Response: 3720 # { 3721 # 3722 # "data": { 3723 # 3724 # "validateToken": { 3725 # 3726 # "hasPassword": true, 3727 # 3728 # "user": { 3729 # 3730 # "id": "d8304ba1-0d4c-4268-a82c-8c62fd455066" 3731 # 3732 # } 3733 # 3734 # } 3735 # 3736 # } 3737 # } 3738 String!): LoginInfo ( : 3739 3740 # Create a mention object 3741 CreateMention!): Mention ( : 3742 3743 # Update a mention object 3744 UpdateMention!): Mention ( : 3745 3746 # Update a set of mentions 3747 UpdateMentions!): [Mention] ( : 3748 3749 # Create root folder for an organization 3750 # Example: 3751 # Request: 3752 # mutation { 3753 # 3754 # createRootFolders { 3755 # 3756 # id 3757 # 3758 # rootFolderTypeId 3759 # 3760 # } 3761 # } 3762 # Response: 3763 # { 3764 # 3765 # "data": { 3766 # 3767 # "createRootFolders": [ 3768 # 3769 # { 3770 # 3771 # "id": "2ac28573-917a-4c4b-be91-a0ac64cbc982", 3772 # 3773 # "rootFolderTypeId": 1 3774 # 3775 # }, 3776 # 3777 # { 3778 # 3779 # "id": "d3e27eb3-7d4a-47ab-af64-bf1529390f4e", 3780 # 3781 # "rootFolderTypeId": 1 3782 # 3783 # } 3784 # 3785 # ] 3786 # 3787 # } 3788 # } 3789 # 3790 # Arguments 3791 # rootFolderType: The type of root folder to create 3792 RootFolderType): [Folder] ( : 3793 3794 # Apply bulk updates to watchlists. 3795 # This mutation is currently available only to Veritone operations. 3796 # 3797 # Arguments 3798 # filter: A filter indicating which watchlists should be updated. 3799 # At least one filter condition must be provided. 3800 # Only watchlists for the user's organization will be updated. 3801 # input: Fields used to update a watchlist. 3802 ( 3803 BulkUpdateWatchlistFilter!, : 3804 BulkUpdateWatchlist : 3805 ): WatchlistList 3806 3807 # File a TemporalDataObject in a folder. A given TemporalDataObject can 3808 # be filed in any number of folders, or none. Filing causes the TemporalDataObject 3809 # and its assets to be visible within the folder. 3810 # Example: 3811 # Request: 3812 # mutation { 3813 # 3814 # fileTemporalDataObject(input:{ 3815 # 3816 # tdoId: "1580388995", 3817 # 3818 # folderId: "9d639f1b-a0d4-47b0-8149-3568f048f320"}) { 3819 # 3820 # id 3821 # 3822 # folders{ 3823 # 3824 # id 3825 # 3826 # } 3827 # 3828 # } 3829 # } 3830 # Response: 3831 # { 3832 # 3833 # "data": { 3834 # 3835 # "fileTemporalDataObject": { 3836 # 3837 # "id": "1580388995", 3838 # 3839 # "folders": [ 3840 # 3841 # { 3842 # 3843 # "id": "9d639f1b-a0d4-47b0-8149-3568f048f320" 3844 # 3845 # } 3846 # 3847 # ] 3848 # 3849 # } 3850 # 3851 # } 3852 # } 3853 # 3854 # Arguments 3855 # input: The fields needed to file a TemporalDataObject in a 3856 # folder 3857 FileTemporalDataObject!): TemporalDataObject ( : 3858 3859 # Unfile a TemporalDataObject from a folder. This causes the TemporalDataObject 3860 # and its assets to disappear from the folder, but does not otherwise affect 3861 # either the TDO or the folder and does not change access controls. 3862 # Example: 3863 # Request: 3864 # mutation { 3865 # 3866 # unfileTemporalDataObject(input: { 3867 # 3868 # tdoId: "1580388995", 3869 # 3870 # folderId: "9d639f1b-a0d4-47b0-8149-3568f048f320"}) { 3871 # 3872 # id 3873 # 3874 # description 3875 # 3876 # } 3877 # } 3878 # Response: 3879 # { 3880 # 3881 # "data": { 3882 # 3883 # "unfileTemporalDataObject": { 3884 # 3885 # "id": "1580388995", 3886 # 3887 # "description": null 3888 # 3889 # } 3890 # 3891 # } 3892 # } 3893 # 3894 # Arguments 3895 # input: The fields needed to file a TemporalDataObject in a 3896 # folder 3897 ( 3898 UnfileTemporalDataObject! : 3899 ): TemporalDataObject 3900 3901 # Moves a TemporalDataObject from one parent folder to another. 3902 # Any other folders the TemporalDataObject is filed in are unaffected. 3903 # Example: 3904 # Request: 3905 # mutation { 3906 # 3907 # moveTemporalDataObject(input: { 3908 # 3909 # tdoId: "1580388995", 3910 # 3911 # oldFolderId: "9d639f1b-a0d4-47b0-8149-3568f048f320", 3912 # 3913 # newFolderId: "2ac28573-917a-4c4b-be91-a0ac64cbc982"}) { 3914 # 3915 # id 3916 # 3917 # folders{ 3918 # 3919 # folderPath{id} 3920 # 3921 # } 3922 # 3923 # } 3924 # } 3925 # Response: 3926 # { 3927 # 3928 # "data": { 3929 # 3930 # "moveTemporalDataObject": { 3931 # 3932 # "id": "1580388995", 3933 # 3934 # "folders": [ 3935 # 3936 # { 3937 # 3938 # "folderPath": [ 3939 # 3940 # { 3941 # 3942 # "id": "2ac28573-917a-4c4b-be91-a0ac64cbc982" 3943 # 3944 # } 3945 # 3946 # ] 3947 # 3948 # } 3949 # 3950 # ] 3951 # 3952 # } 3953 # 3954 # } 3955 # } 3956 # 3957 # Arguments 3958 # input: Fields need to move a TemporalDataObject 3959 MoveTemporalDataObject!): TemporalDataObject ( : 3960 3961 # Upload and store an engine result. The result will be stored as an 3962 # asset associated with the target TemporalDataObject and the 3963 # task will be updated accordingly. 3964 # Use a multipart form POST to all this mutation. 3965 # 3966 # Arguments 3967 # input: Fields needed to upload and store an engine result 3968 UploadEngineResult!): Asset ( : 3969 3970 # Create a watchlist 3971 # Example: 3972 # Request: 3973 # mutation { 3974 # 3975 # createWatchlist(input: { 3976 # 3977 # stopDateTime: 1623851655, 3978 # 3979 # name: "example", 3980 # 3981 # searchIndex: mine, 3982 # 3983 # parentFolderId: "9d639f1b-a0d4-47b0-8149-3568f048f320", 3984 # 3985 # cognitiveSearches: [], 3986 # 3987 # subscriptions: [], 3988 # 3989 # details: { 3990 # 3991 # example: "example"}}) { 3992 # 3993 # id 3994 # 3995 # } 3996 # } 3997 # Response: 3998 # { 3999 # 4000 # "data": { 4001 # 4002 # "createWatchlist": { 4003 # 4004 # "id": "325783" 4005 # 4006 # } 4007 # 4008 # } 4009 # } 4010 CreateWatchlist!): Watchlist ( : 4011 4012 BulkCreateWatchlist!): WatchlistList ( : 4013 4014 # Update a watchlist 4015 # Example: 4016 # Request: 4017 # mutation { 4018 # 4019 # updateWatchlist(input: { 4020 # 4021 # id: "325783" 4022 # 4023 # name: "new name" 4024 # 4025 # details: { 4026 # 4027 # example: "new details"}}) { 4028 # 4029 # id 4030 # 4031 # name 4032 # 4033 # } 4034 # } 4035 # Response: 4036 # 4037 # { 4038 # 4039 # "data": { 4040 # 4041 # "updateWatchlist": { 4042 # 4043 # "id": "325783", 4044 # 4045 # "name": "new name" 4046 # 4047 # } 4048 # 4049 # } 4050 # } 4051 UpdateWatchlist!): Watchlist ( : 4052 4053 # Delete a watchlist 4054 # Example: 4055 # Request: 4056 # mutation { 4057 # 4058 # deleteWatchlist( 4059 # 4060 # id:"325783") { 4061 # 4062 # message 4063 # 4064 # } 4065 # } 4066 # Response: 4067 # { 4068 # 4069 # "data": { 4070 # 4071 # "deleteWatchlist": { 4072 # 4073 # "message": "Watchlist deleted along with 0 subscriptions, 0 cognitive search 4074 # profiles, 0 mention comments, and 0 mention ratings." 4075 # 4076 # } 4077 # 4078 # } 4079 # } 4080 ID!): DeletePayload ( : 4081 4082 UpdateCognitiveSearch): CognitiveSearch ( : 4083 4084 CreateCognitiveSearch): CognitiveSearch ( : 4085 4086 ID!): DeletePayload ( : 4087 4088 FileWatchlist!): Watchlist ( : 4089 4090 # Unfile a watchlist from a folder 4091 # Example: 4092 # Request: 4093 # mutation { 4094 # 4095 # unfileWatchlist(input: { 4096 # 4097 # watchlistId:"325786", 4098 # 4099 # folderId: "9d639f1b-a0d4-47b0-8149-3568f048f320"}) { 4100 # 4101 # id 4102 # 4103 # folders{ 4104 # 4105 # folderPath{ 4106 # 4107 # id 4108 # 4109 # } 4110 # 4111 # } 4112 # 4113 # } 4114 # } 4115 # Response: 4116 # { 4117 # 4118 # "data": { 4119 # 4120 # "unfileWatchlist": { 4121 # 4122 # "id": "325786", 4123 # 4124 # "folders": [] 4125 # 4126 # } 4127 # 4128 # } 4129 # } 4130 UnfileWatchlist!): Watchlist ( : 4131 4132 # Share a folder with other organizations 4133 # Requires superadmin 4134 ShareFolderInput): Folder ( : 4135 4136 # Create a TDO and an asset with a single call 4137 # Example: 4138 # Request: 4139 # mutation { 4140 # 4141 # createTDOWithAsset(input: { 4142 # 4143 # startDateTime: 1623841655, 4144 # 4145 # stopDateTime: 1623851655, 4146 # 4147 # contentType: "video/mp4", 4148 # 4149 # assetType: "media", 4150 # 4151 # addToIndex: false, 4152 # 4153 # uri: "https://s3.amazonaws.com/hold4fisher/s3Test.mp4"}) { 4154 # 4155 # id 4156 # 4157 # status 4158 # 4159 # assets { 4160 # 4161 # records { 4162 # 4163 # id 4164 # 4165 # assetType 4166 # 4167 # contentType 4168 # 4169 # signedUri 4170 # 4171 # } 4172 # 4173 # } 4174 # 4175 # } 4176 # } 4177 # Response: 4178 # { 4179 # 4180 # "data": { 4181 # 4182 # "createTDOWithAsset": { 4183 # 4184 # "id": "1580507556", 4185 # 4186 # "status": "recorded", 4187 # 4188 # "assets": { 4189 # 4190 # "records": [ 4191 # 4192 # { 4193 # 4194 # "id": "1580507556_DQ2nU8cTDh", 4195 # 4196 # "assetType": "media", 4197 # 4198 # "contentType": "video/mp4", 4199 # 4200 # "signedUri": "https://s3.amazonaws.com/hold4fisher/s3Test.mp4" 4201 # 4202 # } 4203 # 4204 # ] 4205 # 4206 # } 4207 # 4208 # } 4209 # 4210 # } 4211 # } 4212 # 4213 # Arguments 4214 # input: Input fields necessary to create the TDO and asset 4215 CreateTDOWithAsset): TemporalDataObject ( : 4216 4217 # Create a subscription 4218 # Example: 4219 # Request: 4220 # mutation { 4221 # 4222 # createSubscription(input: { 4223 # 4224 # targetId: "325791", 4225 # 4226 # contact: { 4227 # 4228 # emailAddress: "example email"}, 4229 # 4230 # scheduledDay: Friday}) { 4231 # 4232 # id 4233 # 4234 # } 4235 # } 4236 # Response: 4237 # { 4238 # 4239 # "data": { 4240 # 4241 # "createSubscription": { 4242 # 4243 # "id": "274939" 4244 # 4245 # } 4246 # 4247 # } 4248 # } 4249 CreateSubscription!): Subscription ( : 4250 4251 # Update a subscription 4252 # Example: 4253 # Request: 4254 # mutation { 4255 # 4256 # updateSubscription(input: { 4257 # 4258 # id: "274939"}) { 4259 # 4260 # id 4261 # 4262 # } 4263 # } 4264 # Response: 4265 # mutation { 4266 # 4267 # updateSubscription(input: { 4268 # 4269 # id: "274939"}) { 4270 # 4271 # id 4272 # 4273 # } 4274 # } 4275 UpdateSubscription!): Subscription ( : 4276 4277 # Delete a subscription 4278 # Example: 4279 # Request: 4280 # mutation { 4281 # 4282 # deleteSubscription( 4283 # 4284 # id: "274939") { 4285 # 4286 # message 4287 # 4288 # } 4289 # } 4290 # Response: 4291 # mutation { 4292 # 4293 # deleteSubscription( 4294 # 4295 # id: "274939") { 4296 # 4297 # message 4298 # 4299 # } 4300 # } 4301 ID!): DeletePayload ( : 4302 4303 # Create trigger for events or types. 4304 # Example: 4305 # Request: 4306 # mutation { 4307 # 4308 # createTriggers(input: { 4309 # 4310 # events: "*", 4311 # 4312 # targets: { 4313 # 4314 # name: Email, 4315 # 4316 # params: { 4317 # 4318 # address: "example@veritone.com"}}}) { 4319 # 4320 # id 4321 # 4322 # } 4323 # } 4324 # Response: 4325 # { 4326 # 4327 # "data": { 4328 # 4329 # "createTriggers": [ 4330 # 4331 # { 4332 # 4333 # "id": "2936" 4334 # 4335 # } 4336 # 4337 # ] 4338 # 4339 # } 4340 # } 4341 CreateTriggers!): [Trigger] ( : 4342 4343 # Delete a registed trigger by ID. 4344 # Example: 4345 # Request: 4346 # mutation { 4347 # 4348 # deleteTrigger( 4349 # 4350 # id: "2936") { 4351 # 4352 # message 4353 # 4354 # } 4355 # } 4356 # Response: 4357 # { 4358 # 4359 # "data": { 4360 # 4361 # "deleteTrigger": { 4362 # 4363 # "message": "Trigger 2936 has been removed from organization 35521" 4364 # 4365 # } 4366 # 4367 # } 4368 # } 4369 ID!): DeletePayload ( : 4370 4371 # Validates if an engine output conforms to the engine output guidelines 4372 # Example: 4373 # Request: 4374 # mutation { 4375 # 4376 # validateEngineOutput(input: 4377 # 4378 # { 4379 # 4380 # schemaId: "https://docs.veritone.com/schemas/vtn-standard/master.json", 4381 # 4382 # validationContracts: [ 4383 # 4384 # "structured-data" 4385 # 4386 # ], 4387 # 4388 # series: [ 4389 # 4390 # { 4391 # 4392 # startTimeMs: 0, 4393 # 4394 # stopTimeMs: 10000, 4395 # 4396 # structuredData: { 4397 # 4398 # exampleschemaid: { 4399 # 4400 # key: "value", 4401 # 4402 # any: "data you'd like", 4403 # 4404 # as_long: "as it conforms to the schema" 4405 # 4406 # } 4407 # 4408 # } 4409 # 4410 # } 4411 # 4412 # ] 4413 # 4414 # } 4415 # 4416 # ) 4417 # } 4418 # Response: 4419 # { 4420 # 4421 # "data": { 4422 # 4423 # "validateEngineOutput": true 4424 # 4425 # } 4426 # } 4427 JSONData!): Boolean! ( : 4428 4429 # JWT tokens with a more limited scoped token to specific 4430 # resources to the recording, task, and job 4431 # and also has no organization association. 4432 # Example: 4433 # Request: 4434 # mutation { 4435 # 4436 # getEngineJWT(input: { 4437 # 4438 # engineId: "1", 4439 # 4440 # resource:{ 4441 # 4442 # tdoId: "1580701928" 4443 # 4444 # }}) { 4445 # 4446 # token 4447 # 4448 # } 4449 # } 4450 # 4451 # Response: 4452 # { 4453 # 4454 # "data": { 4455 # 4456 # "getEngineJWT": { 4457 # 4458 # "token": "eyJh...Tw_z3BKRA" 4459 # 4460 # } 4461 # 4462 # } 4463 # } 4464 getEngineJWT!): JWTTokenInfo! ( : 4465 4466 # Verify JWT token 4467 # Example: 4468 # Request: 4469 # mutation { 4470 # 4471 # verifyJWT(jwtToken:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjb250ZW 4472 # 4473 # 50QXBwbGljYXRpb25JZCI6IjQ5YTRjYmJjLTVlODMtNGM0Mi1iOWEzLWJlNmVjMDczMmY 4474 # 4475 # wOSIsImNvbnRlbnRPcmdhbml6YXRpb25JZCI6MzU1MjEsImVuZ2luZUlkIjoiMSIsInVzZ 4476 # 4477 # XJJZCI6IjU5Y2I0ZTc0LTdjMzEtNDI2Ny1iOTFlLWQ0NjAwYmMwODAwOCIsInNjb3BlIjpb 4478 # 4479 # eyJhY3Rpb25zIjpbImFzc2V0OnVyaSIsImFzc2V0OmFsbCIsInJlY29yZGluZzpyZWFkIiw 4480 # 4481 # icmVjb3JkaW5nOnVwZGF0ZSJdLCJyZXNvdXJjZXMiOnsicmVjb3JkaW5nSWRzIjpbIjE1OD 4482 # 4483 # A3MDE5MjgiXX19LHsiYWN0aW9ucyI6WyJ0YXNrOnVwZGF0ZSJdLCJyZXNvdXJjZXMiOnsia 4484 # 4485 # m9iSWRzIjpbXSwidGFza0lkcyI6W10sInNvdXJjZUlkcyI6W119fV0sImlhdCI6MTYyNDAz 4486 # 4487 # NjEyMiwiZXhwIjoxNjI0NjQwOTIyLCJzdWIiOiJlbmdpbmUtcnVuIiwianRpIjoiMTViYjI 4488 # 4489 # 3YzAtNGI1Yy00NjNhLWFkMTgtOWFkNDI0ODFiMTMzIn0.R7qYdPkA1wjJUiTdb1ryvTnZASPN9FEuGATw_z3BKRA") 4490 # { 4491 # 4492 # payload 4493 # 4494 # } 4495 # } 4496 # Response: 4497 # { 4498 # 4499 # "data": { 4500 # 4501 # "verifyJWT": { 4502 # 4503 # "payload": { 4504 # 4505 # "contentApplicationId": "49a4cbbc-5e83-4c42-b9a3-be6ec0732f09", 4506 # 4507 # "contentOrganizationId": 35521, 4508 # 4509 # "engineId": "1", 4510 # 4511 # "userId": "59cb4e74-7c31-4267-b91e-d4600bc08008", 4512 # 4513 # "scope": [ 4514 # 4515 # { 4516 # 4517 # "actions": [ 4518 # 4519 # "asset:uri", 4520 # 4521 # "asset:all", 4522 # 4523 # "recording:read", 4524 # 4525 # "recording:update" 4526 # 4527 # ], 4528 # 4529 # "resources": { 4530 # 4531 # "recordingIds": [ 4532 # 4533 # "1580701928" 4534 # 4535 # ] 4536 # 4537 # } 4538 # 4539 # }, 4540 # 4541 # { 4542 # 4543 # "actions": [ 4544 # 4545 # "task:update" 4546 # 4547 # ], 4548 # 4549 # "resources": { 4550 # 4551 # "jobIds": [], 4552 # 4553 # "taskIds": [], 4554 # 4555 # "sourceIds": [] 4556 # 4557 # } 4558 # 4559 # } 4560 # 4561 # ], 4562 # 4563 # "iat": 1624036122, 4564 # 4565 # "exp": 1624640922, 4566 # 4567 # "sub": "engine-run", 4568 # 4569 # "jti": "15bb27c0-4b5c-463a-ad18-9ad42481b133" 4570 # 4571 # } 4572 # 4573 # } 4574 # 4575 # } 4576 # } 4577 String!): VerifyJWTPayload ( : 4578 4579 # Create a new Saved Search 4580 # Example: 4581 # Request: 4582 # mutation { 4583 # 4584 # createSavedSearch(input: { 4585 # 4586 # name: "example", 4587 # 4588 # csp: { 4589 # 4590 # example: "example"}}) { 4591 # 4592 # id 4593 # 4594 # } 4595 # } 4596 # Response: 4597 # { 4598 # 4599 # "data": { 4600 # 4601 # "createSavedSearch": { 4602 # 4603 # "id": "a29f2255-e509-4454-89ec-e425390ca4ca" 4604 # 4605 # } 4606 # 4607 # } 4608 # } 4609 CreateSavedSearch!): SavedSearch! ( : 4610 4611 # Delete a saved search 4612 # Example: 4613 # Request: 4614 # mutation { 4615 # 4616 # deleteSavedSearch( 4617 # 4618 # id:"a29f2255-e509-4454-89ec-e425390ca4ca") { 4619 # 4620 # message 4621 # 4622 # } 4623 # } 4624 # Response: 4625 # { 4626 # 4627 # "data": { 4628 # 4629 # "deleteSavedSearch": { 4630 # 4631 # "message": null 4632 # 4633 # } 4634 # 4635 # } 4636 # } 4637 ID!): DeletePayload! ( : 4638 4639 # Mark existing saved search profile as deleted 4640 # Create new saved search profile 4641 # Example: 4642 # Request: 4643 # mutation { 4644 # 4645 # replaceSavedSearch(input: { 4646 # 4647 # id: "3d4f04c5-7855-4b9c-ba65-9bd6c2932a7e", 4648 # 4649 # name: "example", 4650 # 4651 # csp: { 4652 # 4653 # example: "new csp"}}) { 4654 # 4655 # id 4656 # 4657 # } 4658 # } 4659 # Response: 4660 # mutation { 4661 # 4662 # replaceSavedSearch(input: { 4663 # 4664 # id: "3d4f04c5-7855-4b9c-ba65-9bd6c2932a7e", 4665 # 4666 # name: "example", 4667 # 4668 # csp: { 4669 # 4670 # example: "new csp"}}) { 4671 # 4672 # id 4673 # 4674 # } 4675 # } 4676 ReplaceSavedSearch!): SavedSearch! ( : 4677 4678 # Send a basic email. Mutation returns true for a success message. 4679 # The email from field will be automatically set the default platform email 4680 # address 4681 # Example: 4682 # Request: 4683 # mutation { 4684 # 4685 # sendEmail(input: { 4686 # 4687 # to: "example@veritone.com" 4688 # 4689 # subject: "example" 4690 # 4691 # message: "email body" 4692 # 4693 # replyTo: "example@veritone.com" 4694 # 4695 # }) 4696 # } 4697 # Response: 4698 # { 4699 # 4700 # "data": { 4701 # 4702 # "sendEmail": true 4703 # 4704 # } 4705 # } 4706 SendEmail!): Boolean! ( : 4707 4708 # Create new content template into a folder 4709 ( 4710 CreateFolderContentTemplate! : 4711 ): FolderContentTemplate! 4712 4713 # Update existing content template by folderContentTemplateId 4714 ( 4715 UpdateFolderContentTemplate! : 4716 ): FolderContentTemplate! 4717 4718 # Delete existing folder content template by folderContentTemplateId 4719 # 4720 # Arguments 4721 # id: Folder Content Template Id 4722 ID!): DeletePayload! ( : 4723 4724 ( 4725 CreateFolderContentTempate! : 4726 ): FolderContentTemplate! @deprecated( reason: "Misspelling" ) 4727 4728 ( 4729 UpdateFolderContentTempate! : 4730 ): FolderContentTemplate! @deprecated( reason: "Misspelling" ) 4731 4732 # Arguments 4733 # id: Folder Content Template Id 4734 ( 4735 ID! : 4736 ): DeletePayload! @deprecated( reason: "Misspelling" ) 4737 4738 # Create an export request. The requested TDO data, possibly including 4739 # TDO media and engine results, will be exported offline. 4740 # Example: 4741 # Request: 4742 # mutation { 4743 # 4744 # createExportRequest(input: { 4745 # 4746 # tdoData: { 4747 # 4748 # tdoId: "1580388995", 4749 # 4750 # }}) { 4751 # 4752 # id 4753 # 4754 # } 4755 # } 4756 # Response: 4757 # { 4758 # 4759 # "data": { 4760 # 4761 # "createExportRequest": { 4762 # 4763 # "id": "938b2d64-6df1-486b-b6ea-29d33dee49ad" 4764 # 4765 # } 4766 # 4767 # } 4768 # } 4769 # 4770 # Arguments 4771 # input: Input data required to create the export request 4772 CreateExportRequest!): ExportRequest! ( : 4773 4774 # Update an export request 4775 # Example: 4776 # Request: 4777 # mutation { 4778 # 4779 # updateExportRequest(input: { 4780 # 4781 # id: "938b2d64-6df1-486b-b6ea-29d33dee49ad", 4782 # 4783 # status: complete}) { 4784 # 4785 # id 4786 # 4787 # status 4788 # 4789 # } 4790 # } 4791 # Response: 4792 # { 4793 # 4794 # "data": { 4795 # 4796 # "updateExportRequest": { 4797 # 4798 # "id": "938b2d64-6df1-486b-b6ea-29d33dee49ad", 4799 # 4800 # "status": "complete" 4801 # 4802 # } 4803 # 4804 # } 4805 # } 4806 # 4807 # Arguments 4808 # input: Input data required to update an export request 4809 UpdateExportRequest!): ExportRequest! ( : 4810 4811 # Create Mention in bulk. The input should be an array of createMentions 4812 CreateMentions!): MentionList ( : 4813 4814 # Create Media Share. Returning the url of the share 4815 CreateMediaShare!): CreatedMediaShare! ( : 4816 4817 # Create a new event 4818 # 4819 # Example: 4820 # 4821 # Request: 4822 # 4823 # mutation { 4824 # 4825 # createEvent(input: { 4826 # 4827 # eventName: "example", 4828 # 4829 # eventType: "example", 4830 # 4831 # application: "" 4832 # 4833 # description: "example"}) { 4834 # 4835 # id 4836 # 4837 # } 4838 # } 4839 # Response: 4840 # { 4841 # 4842 # "data": { 4843 # 4844 # "createEvent": { 4845 # 4846 # "id": "55fc7c51-1521-4043-902f-f0f3a357da6d" 4847 # 4848 # } 4849 # 4850 # } 4851 # } 4852 CreateEvent!): Event! ( : 4853 4854 # Update an event 4855 # Example: 4856 # Request: 4857 # mutation { 4858 # 4859 # updateEvent(input: { 4860 # 4861 # id: "55fc7c51-1521-4043-902f-f0f3a357da6d", 4862 # 4863 # description: "new example description"}) { 4864 # 4865 # id 4866 # 4867 # description 4868 # 4869 # } 4870 # } 4871 # Response: 4872 # { 4873 # 4874 # "data": { 4875 # 4876 # "updateEvent": { 4877 # 4878 # "id": "55fc7c51-1521-4043-902f-f0f3a357da6d", 4879 # 4880 # "description": "new example description" 4881 # 4882 # } 4883 # 4884 # } 4885 # } 4886 UpdateEvent!): Event! ( : 4887 4888 # Subscribe to an event 4889 # Example: 4890 # Request: 4891 # mutation { 4892 # 4893 # subscribeEvent(input: { 4894 # 4895 # eventName: "example", 4896 # 4897 # eventType: "example", 4898 # 4899 # application: "", 4900 # 4901 # delivery: { 4902 # 4903 # name: CreateJob, 4904 # 4905 # params: { 4906 # 4907 # targetId: "1580701928" 4908 # 4909 # engineId: "1" 4910 # 4911 # } 4912 # 4913 # } 4914 # 4915 # }) 4916 # } 4917 # Response: 4918 # { 4919 # 4920 # "data": { 4921 # 4922 # "subscribeEvent": "a0d04eeb-c32d-4852-9273-bb0acda970b9" 4923 # 4924 # } 4925 # } 4926 SubscribeEvent!): ID! ( : 4927 4928 # Unsubscribe to an event 4929 # Example: 4930 # Request: 4931 # mutation { 4932 # 4933 # unsubscribeEvent( 4934 # 4935 # id: "a0d04eeb-c32d-4852-9273-bb0acda970b9") { 4936 # 4937 # id 4938 # 4939 # message 4940 # 4941 # } 4942 # } 4943 # Response: 4944 # { 4945 # 4946 # "data": { 4947 # 4948 # "unsubscribeEvent": { 4949 # 4950 # "id": "a0d04eeb-c32d-4852-9273-bb0acda970b9", 4951 # 4952 # "message": "Unsubscribed from event" 4953 # 4954 # } 4955 # 4956 # } 4957 # } 4958 ID!): UnsubscribeEvent! ( : 4959 4960 # Emit an event 4961 # Example: 4962 # Request: 4963 # mutation { 4964 # 4965 # emitEvent(input: { 4966 # 4967 # eventName: "example", 4968 # 4969 # eventType: "example", 4970 # 4971 # application: "", 4972 # 4973 # payload: ""}) { 4974 # 4975 # id 4976 # 4977 # } 4978 # } 4979 # Response: 4980 # { 4981 # 4982 # "data": { 4983 # 4984 # "emitEvent": { 4985 # 4986 # "id": "0952fe68-5652-4804-857d-26e21ef3d7e8" 4987 # 4988 # } 4989 # 4990 # } 4991 # } 4992 EmitEvent!): EmitEventResponse! ( : 4993 4994 # Create a new event trigger template 4995 # Example: 4996 # Request: 4997 # mutation { 4998 # 4999 # createEventActionTemplate(input: { 5000 # 5001 # name: "example" 5002 # 5003 # inputType: event 5004 # 5005 # inputValidation: { 5006 # 5007 # example: "example" 5008 # 5009 # } 5010 # 5011 # inputAttributes: { 5012 # 5013 # example: "example" 5014 # 5015 # } 5016 # 5017 # actionType: job 5018 # 5019 # actionValidation: { 5020 # 5021 # example: "example" 5022 # 5023 # } 5024 # 5025 # actionDestination: "1" 5026 # 5027 # actionAttributes: { 5028 # 5029 # example: "example" 5030 # 5031 # }}) { 5032 # 5033 # id 5034 # 5035 # } 5036 # } 5037 # Response: 5038 # { 5039 # 5040 # "data": { 5041 # 5042 # "createEventActionTemplate": { 5043 # 5044 # "id": "d02522d7-ef5f-448f-981a-d2cfc7603d92" 5045 # 5046 # } 5047 # 5048 # } 5049 # } 5050 ( 5051 CreateEventActionTemplate! : 5052 ): EventActionTemplate! 5053 5054 # Update an event trigger template 5055 # Example: 5056 # Request: 5057 # mutation { 5058 # 5059 # updateEventActionTemplate(input: { 5060 # 5061 # id: "d02522d7-ef5f-448f-981a-d2cfc7603d92", 5062 # 5063 # name: "example", 5064 # 5065 # actionValidation: { 5066 # 5067 # example: "new validation"}}) { 5068 # 5069 # id 5070 # 5071 # actionValidation 5072 # 5073 # } 5074 # } 5075 # Response: 5076 # { 5077 # 5078 # "data": { 5079 # 5080 # "updateEventActionTemplate": { 5081 # 5082 # "id": "d02522d7-ef5f-448f-981a-d2cfc7603d92", 5083 # 5084 # "actionValidation": { 5085 # 5086 # "example": "new validation" 5087 # 5088 # } 5089 # 5090 # } 5091 # 5092 # } 5093 # } 5094 ( 5095 UpdateEventActionTemplate! : 5096 ): EventActionTemplate! 5097 5098 # Create a new event custom rule 5099 # Example: 5100 # Request: 5101 # mutation { 5102 # 5103 # createEventCustomRule(input: { 5104 # 5105 # name: "example" 5106 # 5107 # eventType: "example" 5108 # 5109 # eventName: "example" 5110 # 5111 # description: "example description" 5112 # 5113 # actions:[] 5114 # 5115 # params: { 5116 # 5117 # example: "example" 5118 # 5119 # }}) { 5120 # 5121 # id 5122 # 5123 # } 5124 # } 5125 # Response: 5126 # { 5127 # 5128 # "data": { 5129 # 5130 # "createEventCustomRule": { 5131 # 5132 # "id": "0a0d3ec8-b4fb-48fc-bd39-c47a22b2173b" 5133 # 5134 # } 5135 # 5136 # } 5137 # } 5138 CreateEventCustomRule!): EventCustomRule! ( : 5139 5140 # Update an event custom rule 5141 # Example: 5142 # Request: 5143 # 5144 # mutation { 5145 # 5146 # updateEventCustomRule(input: { 5147 # 5148 # id: "0a0d3ec8-b4fb-48fc-bd39-c47a22b2173b", 5149 # 5150 # name: "example", 5151 # 5152 # status: inactive, 5153 # 5154 # description: "new description"}) { 5155 # 5156 # id 5157 # 5158 # description 5159 # 5160 # } 5161 # } 5162 # Response: 5163 # { 5164 # 5165 # "data": { 5166 # 5167 # "updateEventCustomRule": { 5168 # 5169 # "id": "0a0d3ec8-b4fb-48fc-bd39-c47a22b2173b", 5170 # 5171 # "description": "new description" 5172 # 5173 # } 5174 # 5175 # } 5176 # } 5177 UpdateEventCustomRule!): EventCustomRule! ( : 5178 5179 # Delete an event custom rule 5180 # Example: 5181 # Request: 5182 # mutation { 5183 # 5184 # deleteEventCustomRule( 5185 # 5186 # id: "0a0d3ec8-b4fb-48fc-bd39-c47a22b2173b") { 5187 # 5188 # message 5189 # 5190 # } 5191 # } 5192 # Response: 5193 # { 5194 # 5195 # "data": { 5196 # 5197 # "deleteEventCustomRule": { 5198 # 5199 # "message": "Deleted event custom rule" 5200 # 5201 # } 5202 # 5203 # } 5204 # } 5205 ID!): DeletePayload! ( : 5206 5207 # Create a processTemplate in CMS 5208 # Example: 5209 # Request: 5210 # mutation { 5211 # 5212 # createProcessTemplate(input: { 5213 # 5214 # name: "example", 5215 # 5216 # taskList: { 5217 # 5218 # example: "task" 5219 # 5220 # }}) { 5221 # 5222 # id 5223 # 5224 # } 5225 # } 5226 # Response: 5227 # { 5228 # 5229 # "data": { 5230 # 5231 # "createProcessTemplate": { 5232 # 5233 # "id": "746" 5234 # 5235 # } 5236 # 5237 # } 5238 # } 5239 CreateProcessTemplate!): ProcessTemplate! ( : 5240 5241 # Update a processTemplate by ID in CMS 5242 # Example: 5243 # Request: 5244 # mutation { 5245 # 5246 # updateProcessTemplate(input: { 5247 # 5248 # id: "746", 5249 # 5250 # taskList: { 5251 # 5252 # example: "task", 5253 # 5254 # new: "new task" 5255 # 5256 # }}) { 5257 # 5258 # id 5259 # 5260 # } 5261 # } 5262 # Response: 5263 # { 5264 # 5265 # "data": { 5266 # 5267 # "updateProcessTemplate": { 5268 # 5269 # "id": "746" 5270 # 5271 # } 5272 # 5273 # } 5274 # } 5275 UpdateProcessTemplate!): ProcessTemplate! ( : 5276 5277 # Delete a processTemplate by ID in CMS 5278 # Example: 5279 # Request: 5280 # mutation { 5281 # 5282 # deleteProcessTemplate( 5283 # 5284 # id: "746") { 5285 # 5286 # message 5287 # 5288 # } 5289 # } 5290 # Response: 5291 # { 5292 # 5293 # "data": { 5294 # 5295 # "deleteProcessTemplate": { 5296 # 5297 # "message": null 5298 # 5299 # } 5300 # 5301 # } 5302 # } 5303 ID!): DeletePayload! ( : 5304 5305 # Create a mention export request. The requested mentionFilters including 5306 # The mention export file csv will be exported offline. 5307 # Example: 5308 # Request: 5309 # mutation { 5310 # 5311 # createMentionExportRequest(input: { 5312 # 5313 # mentionFilters: { 5314 # 5315 # watchlistIds: ["123"]}}) { 5316 # 5317 # id 5318 # 5319 # } 5320 # } 5321 # Response: 5322 # { 5323 # 5324 # "data": { 5325 # 5326 # "createMentionExportRequest": { 5327 # 5328 # "id": "400c98c2-faa8-44e4-b5d8-daf2fb43445e" 5329 # 5330 # } 5331 # 5332 # } 5333 # } 5334 # 5335 # Arguments 5336 # input: Input data required to create the export request 5337 ( 5338 CreateMentionExportRequest! : 5339 ): ExportRequest! 5340 5341 # Update status or assetURI of a mentionExportRequest 5342 # Often use when the file export was completed or downloaded 5343 # Example: 5344 # Request: 5345 # mutation { 5346 # 5347 # updateMentionExportRequest(input: { 5348 # 5349 # id: "400c98c2-faa8-44e4-b5d8-daf2fb43445e" 5350 # 5351 # status: incomplete, 5352 # 5353 # assetUri: "www.veritone.com", 5354 # 5355 # sqlQueries:""}) { 5356 # 5357 # id 5358 # 5359 # } 5360 # } 5361 # Response: 5362 # { 5363 # 5364 # "data": { 5365 # 5366 # "updateMentionExportRequest": { 5367 # 5368 # "id": "400c98c2-faa8-44e4-b5d8-daf2fb43445e" 5369 # 5370 # } 5371 # 5372 # } 5373 # } 5374 ( 5375 UpdateMentionExportRequest! : 5376 ): ExportRequest! 5377 5378 # Create a creative 5379 # Example: 5380 # Request: 5381 # mutation { 5382 # 5383 # createCreative(input: { 5384 # 5385 # name: "example" 5386 # 5387 # keywords: "example keywords" 5388 # 5389 # brandId: null 5390 # 5391 # advertiserId: null}) { 5392 # 5393 # id 5394 # 5395 # } 5396 # } 5397 # Response: 5398 # { 5399 # 5400 # "data": { 5401 # 5402 # "createCreative": { 5403 # 5404 # "id": "25208" 5405 # 5406 # } 5407 # 5408 # } 5409 # } 5410 CreateCreative!): Creative! ( : 5411 5412 # Update a creative 5413 # Example: 5414 # Request: 5415 # mutation { 5416 # 5417 # updateCreative(input: { 5418 # 5419 # id: "25208", 5420 # 5421 # name: "example", 5422 # 5423 # keywords: "new keywords", 5424 # 5425 # brandId: null, 5426 # 5427 # advertiserId: null}) { 5428 # 5429 # id 5430 # 5431 # } 5432 # } 5433 # Response: 5434 # { 5435 # 5436 # "data": { 5437 # 5438 # "updateCreative": { 5439 # 5440 # "id": "25208" 5441 # 5442 # } 5443 # 5444 # } 5445 # } 5446 UpdateCreative!): Creative! ( : 5447 5448 # Delete a creative 5449 # Example: 5450 # Request: 5451 # mutation { 5452 # 5453 # deleteCreative( 5454 # 5455 # id: "25208") { 5456 # 5457 # message 5458 # 5459 # } 5460 # } 5461 # Response: 5462 # { 5463 # 5464 # "data": { 5465 # 5466 # "deleteCreative": { 5467 # 5468 # "message": null 5469 # 5470 # } 5471 # 5472 # } 5473 # } 5474 ID!): DeletePayload! ( : 5475 5476 # Emit a system-level emit. This mutation is used only by 5477 # Veritone platform components. 5478 # 5479 # Arguments 5480 # input: Data required to create the event 5481 EmitSystemEvent!): SystemEventInfo! ( : 5482 5483 # Creates an immutable audit log event with the given payload 5484 # Example: 5485 # Request: 5486 # mutation { 5487 # 5488 # emitAuditEvent(input: { 5489 # 5490 # application: "" 5491 # 5492 # payload: { 5493 # 5494 # example: "example" 5495 # 5496 # }}) { 5497 # 5498 # id 5499 # 5500 # } 5501 # } 5502 # Response: 5503 # { 5504 # 5505 # "data": { 5506 # 5507 # "emitAuditEvent": { 5508 # 5509 # "id": "fdc7b3a3-ab23-4866-a330-c0ad910cd64f" 5510 # 5511 # } 5512 # 5513 # } 5514 # } 5515 EmitAuditEvent!): AuditEvent! ( : 5516 5517 # Create a context menu extension 5518 # Example: 5519 # Request: 5520 # 5521 # mutation { 5522 # 5523 # createContextMenuExtension(input: { 5524 # 5525 # id: "80354999-d633-4595-9578-d82f59a5134f" 5526 # 5527 # label: "example" 5528 # 5529 # url: "www.veritone.com" 5530 # 5531 # type: tdo}) { 5532 # 5533 # id 5534 # 5535 # } 5536 # } 5537 # Response: 5538 # { 5539 # 5540 # "data": { 5541 # 5542 # "createContextMenuExtension": { 5543 # 5544 # "id": "cdf19d46-4d89-4b5b-a6bf-ae12c17f2746" 5545 # 5546 # } 5547 # 5548 # } 5549 # } 5550 ( 5551 CreateContextMenuExtension! : 5552 ): ContextMenuExtension! 5553 5554 # Update a context menu extension 5555 # Example: 5556 # Request: 5557 # 5558 # mutation { 5559 # 5560 # updateContextMenuExtension(input: { 5561 # 5562 # id: "cdf19d46-4d89-4b5b-a6bf-ae12c17f2746", 5563 # 5564 # label: "new label", 5565 # 5566 # url: "www.veritone.com"}) { 5567 # 5568 # label 5569 # 5570 # } 5571 # } 5572 # Response: 5573 # { 5574 # 5575 # "data": { 5576 # 5577 # "updateContextMenuExtension": { 5578 # 5579 # "label": "new label" 5580 # 5581 # } 5582 # 5583 # } 5584 # } 5585 ( 5586 UpdateContextMenuExtension! : 5587 ): ContextMenuExtension! 5588 5589 # Delete a context menu extension 5590 # 5591 # Example: 5592 # 5593 # Request: 5594 # 5595 # mutation { 5596 # 5597 # deleteContextMenuExtension(input: { 5598 # 5599 # id: "cdf19d46-4d89-4b5b-a6bf-ae12c17f2746"}) { 5600 # 5601 # message 5602 # 5603 # } 5604 # } 5605 # Response: 5606 # { 5607 # 5608 # "data": { 5609 # 5610 # "deleteContextMenuExtension": { 5611 # 5612 # "message": null 5613 # 5614 # } 5615 # 5616 # } 5617 # } 5618 ( 5619 DeleteContextMenuExtension! : 5620 ): DeletePayload! 5621 5622 # Add or update an organization integration config by 5623 # organization id and integration id. Requires superadmin. 5624 ( 5625 SetOrganizationIntegrationConfig! : 5626 ): IntegrationConfig! 5627 5628 # Delete an integration config. Requires superadmin. 5629 ( 5630 DeleteOrganizationIntegrationConfig! : 5631 ): DeleteIntegrationConfigPayload! 5632 5633 # Create customized Login Configuration for the Instance 5634 ( 5635 CreateInstanceLoginConfiguration! : 5636 ): LoginConfiguration! 5637 5638 # Update customized Login Configuration for the Instance by Slug. 5639 # 5640 # ___Requires superadmin.___ 5641 # 5642 # Arguments 5643 # querySlug: The slug corresponding to the login configuration to 5644 # be updated. 5645 ( 5646 String!, : 5647 SetLoginConfiguration! : 5648 ): LoginConfiguration! 5649 5650 # Delete the login configuration for the organization. 5651 # 5652 # Arguments 5653 # organizationId: Optional field for the Organization ID for 5654 # which the login configuration is to be deleted. 5655 # Deleting login configuration for an organization that is different from the 5656 # caller's organization 5657 # is only allowed for superadmin. 5658 # 5659 # Defaults to caller's Organization ID. 5660 ID): DeletePayload! ( : 5661 5662 # Delete an instance-level login configuration by slug. 5663 # 5664 # Arguments 5665 # slug: The slug corresponding to the instance-level login 5666 # configuration to be deleted. 5667 ( 5668 String! : 5669 ): DeletePayload! 5670 5671 # Mutation to create a new registration configuration. 5672 ( 5673 CreateRegistrationConfigurationInput! : 5674 ): RegistrationConfiguration! 5675 5676 # Update the status of a user 5677 # Example: 5678 # Request: 5679 # mutation { 5680 # 5681 # updateUserStatus(input: { 5682 # 5683 # id: "9728eeef-4ccc-423c-8c98-ffa37313a98d", 5684 # 5685 # status: deleted}) { 5686 # 5687 # status 5688 # 5689 # } 5690 # } 5691 # Response: 5692 # { 5693 # 5694 # "data": { 5695 # 5696 # "updateUserStatus": { 5697 # 5698 # "status": "deleted" 5699 # 5700 # } 5701 # 5702 # } 5703 # } 5704 # 5705 # Arguments 5706 # input: Data required to update the status of a user 5707 UpdateUserStatus!): User! ( : 5708 5709 # Create a custom dashboard 5710 # Example: 5711 # Request: 5712 # mutation { 5713 # 5714 # createCustomDashboard(input: { 5715 # 5716 # hostAppId: "80354999-d633-4595-9578-d82f59a5134f", 5717 # 5718 # name: "example", 5719 # 5720 # description: "example", 5721 # 5722 # data: { 5723 # 5724 # example: "example jsondata"}}) { 5725 # 5726 # id 5727 # 5728 # } 5729 # } 5730 # Response: 5731 # { 5732 # 5733 # "data": { 5734 # 5735 # "createCustomDashboard": { 5736 # 5737 # "id": "60141fc5-8d31-487d-9847-c47f990e4537" 5738 # 5739 # } 5740 # 5741 # } 5742 # } 5743 CreateCustomDashboard): CustomDashboard ( : 5744 5745 # Update a custom dashboard 5746 # Example: 5747 # Request: 5748 # mutation { 5749 # 5750 # updateCustomDashboard(input: { 5751 # 5752 # id: "60141fc5-8d31-487d-9847-c47f990e4537", 5753 # 5754 # name: "new name"}) { 5755 # 5756 # name 5757 # 5758 # } 5759 # } 5760 # Response: 5761 # { 5762 # 5763 # "data": { 5764 # 5765 # "updateCustomDashboard": { 5766 # 5767 # "name": "new name" 5768 # 5769 # } 5770 # 5771 # } 5772 # } 5773 UpdateCustomDashboard): CustomDashboard ( : 5774 5775 # Delete a custom dashboard 5776 # Example: 5777 # Request: 5778 # mutation { 5779 # 5780 # deleteCustomDashboard( 5781 # 5782 # id: "60141fc5-8d31-487d-9847-c47f990e4537") { 5783 # 5784 # message 5785 # 5786 # } 5787 # } 5788 # Response: 5789 # { 5790 # 5791 # "data": { 5792 # 5793 # "deleteCustomDashboard": { 5794 # 5795 # "message": "Custom dashboard deleted" 5796 # 5797 # } 5798 # 5799 # } 5800 # } 5801 ID!): DeletePayload ( : 5802 5803 # Create a Dataset 5804 # Example: 5805 # Request: 5806 # mutation { 5807 # 5808 # createDataset(input: { 5809 # 5810 # name: "example", 5811 # 5812 # description: "example", 5813 # 5814 # schemaId: "acab8bd9-a4d4-44de-ad4b-cc949d696cf9", 5815 # 5816 # tags: { 5817 # 5818 # name: "example", 5819 # 5820 # value: "example value"}}) { 5821 # 5822 # datasetId 5823 # 5824 # } 5825 # } 5826 # Response: 5827 # { 5828 # 5829 # "data": { 5830 # 5831 # "createDataset": { 5832 # 5833 # "datasetId": "47c831ea-f4f6-4eeb-9e39-8c1cd0a1eb95" 5834 # 5835 # } 5836 # 5837 # } 5838 # } 5839 DatasetInput!): Dataset ( : 5840 5841 # Create a Dataset Schema 5842 # Example: 5843 # Request: 5844 # mutation { 5845 # 5846 # createDatasetSchema(input: { 5847 # 5848 # name: "example" 5849 # 5850 # description: "example" 5851 # 5852 # schema: { 5853 # 5854 # example: "example value" 5855 # 5856 # } 5857 # 5858 # tags: { 5859 # 5860 # name: "example", 5861 # 5862 # value: "example value"}}) { 5863 # 5864 # schema{ 5865 # 5866 # id 5867 # 5868 # } 5869 # 5870 # } 5871 # } 5872 # Response: 5873 # { 5874 # 5875 # "data": { 5876 # 5877 # "createDatasetSchema": null 5878 # 5879 # } 5880 # } 5881 CreateDatasetSchema!): Dataset ( : 5882 5883 # Update a Dataset 5884 ID!, : DatasetInput): Dataset ( : 5885 5886 # Delete a Dataset 5887 ID!): DeleteDatasetPayload! ( : 5888 5889 # Perform Dataset Operations 5890 # 5891 # Arguments 5892 # id: Specify the Dataset ID for the operation to be performed 5893 ( 5894 ID!, : 5895 DatasetActionInput!], : [ 5896 Boolean, : 5897 Boolean : 5898 ): DatasetStateInfo 5899 5900 # Replace a source engine to replacement engine 5901 # Example: 5902 # Request: 5903 # mutation { 5904 # 5905 # addTaskReplacementEngine(input: { 5906 # 5907 # sourceEngineId: "1" 5908 # 5909 # replacementEngineId: "2" 5910 # 5911 # organizationId: "35521" 5912 # 5913 # payloadFunc: null}) { 5914 # 5915 # replacementEngineId 5916 # 5917 # } 5918 # } 5919 # Response: 5920 # { 5921 # 5922 # "data": { 5923 # 5924 # "addTaskReplacementEngine": { 5925 # 5926 # "replacementEngineId": "2" 5927 # 5928 # } 5929 # 5930 # } 5931 # } 5932 ( 5933 AddTaskReplacementEngine : 5934 ): TaskEngineReplacement 5935 5936 # Remove an engine replacement 5937 # Example: 5938 # Request: 5939 # mutation { 5940 # 5941 # removeTaskReplacementEngine(input: { 5942 # 5943 # sourceEngineId: "1", 5944 # 5945 # replacementEngineId: "2", 5946 # 5947 # organizationId: "35521"}) { 5948 # 5949 # message 5950 # 5951 # } 5952 # } 5953 # Response: 5954 # { 5955 # 5956 # "data": { 5957 # 5958 # "removeTaskReplacementEngine": { 5959 # 5960 # "message": "Engine replacement has been removed" 5961 # 5962 # } 5963 # 5964 # } 5965 # } 5966 ( 5967 RemoveTaskReplacementEngine : 5968 ): DeletePayload 5969 5970 # Create a custom notification mailbox 5971 # Example: 5972 # Request: 5973 # mutation { 5974 # 5975 # notificationMailboxCreate(input: { 5976 # 5977 # name: "example", 5978 # 5979 # eventFilter: { 5980 # 5981 # eventNames: "example", 5982 # 5983 # eventType: "example",, 5984 # 5985 # delivery: { 5986 # 5987 # params: { 5988 # 5989 # example: "example params" 5990 # 5991 # } 5992 # 5993 # } 5994 # 5995 # }, 5996 # 5997 # notificationTemplate: "", 5998 # 5999 # limit: 10}) { 6000 # 6001 # id 6002 # 6003 # } 6004 # } 6005 # Response: 6006 # { 6007 # 6008 # "data": { 6009 # 6010 # "notificationMailboxCreate": [ 6011 # 6012 # { 6013 # 6014 # "id": "0415f525-813d-4fd4-9dea-9428382b05b9" 6015 # 6016 # } 6017 # } } 6018 ( 6019 NotificationMailboxInput : 6020 ): NotificationMailbox 6021 6022 # Pause a notification mailbox 6023 # Example: 6024 # Request: 6025 # mutation { 6026 # 6027 # notificationMailboxPause( 6028 # 6029 # id: "0415f525-813d-4fd4-9dea-9428382b05b9") { 6030 # 6031 # id 6032 # 6033 # paused 6034 # 6035 # } 6036 # } 6037 # Response: 6038 # { 6039 # 6040 # "data": { 6041 # 6042 # "notificationMailboxPause": { 6043 # 6044 # "id": "0415f525-813d-4fd4-9dea-9428382b05b9", 6045 # 6046 # "paused": true 6047 # 6048 # } 6049 # 6050 # } 6051 # } 6052 ID!): NotificationMailbox ( : 6053 6054 # Delete a notification mailbox 6055 # Example: 6056 # Request: 6057 # mutation { 6058 # 6059 # notificationMailboxDelete(id:"0415f525-813d-4fd4-9dea-9428382b05b9") { 6060 # 6061 # message 6062 # 6063 # } 6064 # } 6065 # Response: 6066 # { 6067 # 6068 # "data": { 6069 # 6070 # "notificationMailboxDelete": { 6071 # 6072 # "message": "Notification mailbox has been removed" 6073 # 6074 # } 6075 # 6076 # } 6077 # } 6078 ID!): DeletePayload! ( : 6079 6080 # Post a notification to some mailboxes 6081 # Example: 6082 # Request: 6083 # mutation { 6084 # 6085 # notificationPost(input: { 6086 # 6087 # mailboxIds: ["0415f525-813d-4fd4-9dea-9428382b05b9"], 6088 # 6089 # title: "example title", 6090 # 6091 # body: "example body", 6092 # 6093 # contentType: "type", 6094 # 6095 # flags: unread}) { 6096 # 6097 # id 6098 # 6099 # } 6100 # } 6101 # Response: 6102 # { 6103 # 6104 # "data": { 6105 # 6106 # "notificationPost": { 6107 # 6108 # "id": "iDDfG3oB3LnZSYqhRv7-" 6109 # 6110 # } 6111 # 6112 # } 6113 # } 6114 NotificaionPostInput): Notification ( : 6115 6116 # Add a new notification template by eventName, eventType, application 6117 # Example: 6118 # Request: 6119 # mutation { 6120 # 6121 # addNotificationTemplate(input: { 6122 # 6123 # eventName: "example" 6124 # 6125 # eventType: "example" 6126 # 6127 # title: "example" 6128 # 6129 # body: "example" 6130 # 6131 # application: "80354999-d633-4595-9578-d82f59a5134f" 6132 # 6133 # mailboxId: "0415f525-813d-4fd4-9dea-9428382b05b9"}) { 6134 # 6135 # id 6136 # 6137 # } 6138 # } 6139 # Response: 6140 # { 6141 # 6142 # "data": { 6143 # 6144 # "addNotificationTemplate": { 6145 # 6146 # "id": "1dbf3d28-bc7a-434f-ba65-455da0169323" 6147 # 6148 # } 6149 # 6150 # } 6151 # } 6152 AddNotificationTemplate): NotificationTemplate ( : 6153 6154 # Remove a notification template by id 6155 # Example: 6156 # Request: 6157 # mutation { 6158 # 6159 # removeNotificationTemplate(id: "1dbf3d28-bc7a-434f-ba65-455da0169323") { 6160 # 6161 # message 6162 # 6163 # } 6164 # } 6165 # Response: 6166 # { 6167 # 6168 # "data": { 6169 # 6170 # "removeNotificationTemplate": { 6171 # 6172 # "message": "Notification Template has been removed" 6173 # 6174 # } 6175 # 6176 # } 6177 # } 6178 ID!): DeletePayload! ( : 6179 6180 # Add a new notification action by eventName, eventType, application 6181 # Example: 6182 # Request: 6183 # mutation { 6184 # 6185 # addNotificationAction(input: { 6186 # 6187 # eventName: "example", 6188 # 6189 # eventType: "example" 6190 # 6191 # actionName: "example" 6192 # 6193 # icon: 6194 # "https://edit.co.uk/uploads/2016/12/Image-1-Alternatives-to-stock-photography-Thinkstock.jpg" 6195 # 6196 # urlTemplate: "www.veritone.com" 6197 # 6198 # application: "80354999-d633-4595-9578-d82f59a5134f" 6199 # 6200 # mailboxId: "0415f525-813d-4fd4-9dea-9428382b05b9"}) { 6201 # 6202 # id 6203 # 6204 # } 6205 # } 6206 # Response: 6207 # { 6208 # 6209 # "data": { 6210 # 6211 # "addNotificationAction": { 6212 # 6213 # "id": "27dab45b-d825-4f20-b758-4b089d610903" 6214 # 6215 # } 6216 # 6217 # } 6218 # } 6219 AddNotificationAction): NotificationAction ( : 6220 6221 # Remove a notification action by id 6222 # Example 6223 # Request: 6224 # mutation { 6225 # 6226 # removeNotificationAction( 6227 # 6228 # id:"27dab45b-d825-4f20-b758-4b089d610903") { 6229 # 6230 # message 6231 # 6232 # } 6233 # } 6234 # Response: 6235 # { 6236 # 6237 # "data": { 6238 # 6239 # "removeNotificationAction": { 6240 # 6241 # "message": "Notification Action has been removed" 6242 # 6243 # } 6244 # 6245 # } 6246 # } 6247 ID!): DeletePayload! ( : 6248 6249 # Set and unset the notification flags 6250 # Example: 6251 # Request: 6252 # mutation { 6253 # 6254 # setNotificationFlag(input: { 6255 # 6256 # notificationId: "iDDfG3oB3LnZSYqhRv7-", 6257 # 6258 # setFlags: read}) { 6259 # 6260 # id 6261 # 6262 # flags 6263 # 6264 # } 6265 # } 6266 # Response: 6267 # { 6268 # 6269 # "data": { 6270 # 6271 # "setNotificationFlag": { 6272 # 6273 # "id": "iDDfG3oB3LnZSYqhRv7-", 6274 # 6275 # "flags": [ 6276 # 6277 # "unread", 6278 # 6279 # "read" 6280 # 6281 # ] 6282 # 6283 # } 6284 # 6285 # } 6286 # } 6287 SetNotificationFlag): Notification ( : 6288 6289 # Unpause/resume a notification mailbox 6290 # Example: 6291 # Request: 6292 # mutation { 6293 # 6294 # notificationMailboxUnpause( 6295 # 6296 # id: "0415f525-813d-4fd4-9dea-9428382b05b9") { 6297 # 6298 # id 6299 # 6300 # } 6301 # } 6302 # Response: 6303 # { 6304 # 6305 # "data": { 6306 # 6307 # "notificationMailboxUnpause": { 6308 # 6309 # "id": "0415f525-813d-4fd4-9dea-9428382b05b9" 6310 # 6311 # } 6312 # 6313 # } 6314 # } 6315 ID!): NotificationMailbox ( : 6316 6317 # Mark all notification as read for mailboxIds 6318 # Example: 6319 # Request: 6320 # mutation { 6321 # 6322 # markAllNotificationsRead( 6323 # 6324 # mailboxIds: ["0415f525-813d-4fd4-9dea-9428382b05b9"]) { 6325 # 6326 # id 6327 # 6328 # } 6329 # } 6330 # Response: 6331 # "data": { 6332 # 6333 # "markAllNotificationsRead": { 6334 # 6335 # "id": "0415f525-813d-4fd4-9dea-9428382b05b9", 6336 # 6337 # "notifications": { 6338 # 6339 # "records": { 6340 # 6341 # "flags": [ 6342 # 6343 # "unseen", 6344 # 6345 # "read" 6346 # 6347 # ] 6348 # 6349 # } 6350 # 6351 # } 6352 # 6353 # } 6354 # } 6355 ID]!): [NotificationMailbox] ( : [ 6356 6357 # Mark all notification as read for mailboxIds 6358 # Example: 6359 # Request: 6360 # mutation { 6361 # 6362 # markAllNotificationsSeen( 6363 # 6364 # mailboxIds: ["0415f525-813d-4fd4-9dea-9428382b05b9"]) { 6365 # 6366 # id 6367 # 6368 # notifications{ 6369 # 6370 # records{ 6371 # 6372 # flags 6373 # 6374 # } 6375 # 6376 # } 6377 # 6378 # } 6379 # } 6380 # Response: 6381 # { 6382 # 6383 # "data": { 6384 # 6385 # "markAllNotificationsSeen": 6386 # 6387 # { 6388 # 6389 # "id": "0415f525-813d-4fd4-9dea-9428382b05b9", 6390 # 6391 # "notifications": { 6392 # 6393 # "records": 6394 # 6395 # { 6396 # 6397 # "flags": [ 6398 # 6399 # "read", 6400 # 6401 # "seen" 6402 # 6403 # ] 6404 # 6405 # } 6406 # 6407 # } 6408 # 6409 # } 6410 # 6411 # } 6412 # 6413 # } 6414 # } 6415 ID]!): [NotificationMailbox] ( : [ 6416 6417 # Create the default user setting definition for application by current 6418 # organization 6419 # Example: 6420 # Request: 6421 # mutation { 6422 # 6423 # createUserSettingDefinition( 6424 # 6425 # application: "80354999-d633-4595-9578-d82f59a5134f", 6426 # 6427 # key: "example", 6428 # 6429 # type: "example", 6430 # 6431 # defaultValue: "example") { 6432 # 6433 # applicationId 6434 # 6435 # organizationGuid 6436 # 6437 # } 6438 # } 6439 # Response: 6440 # { 6441 # 6442 # "data": { 6443 # 6444 # "createUserSettingDefinition": { 6445 # 6446 # "applicationId": "80354999-d633-4595-9578-d82f59a5134f", 6447 # 6448 # "organizationGuid": "49a4cbbc-5e83-4c42-b9a3-be6ec0732f09" 6449 # 6450 # } 6451 # 6452 # } 6453 # } 6454 # 6455 # Arguments 6456 # organizationGuid: Should be required by orgless token, 6457 # or can be set by superadmin 6458 ( 6459 ID!, : 6460 String!, : 6461 String!, : 6462 String, : 6463 String!, : 6464 ID : 6465 ): ApplicationSetting 6466 6467 # Delete the default user setting definition for application and org 6468 # Example: 6469 # Request: 6470 # mutation { 6471 # 6472 # deleteUserSettingDefinition( 6473 # 6474 # application: "80354999-d633-4595-9578-d82f59a5134f", 6475 # 6476 # key:"example") { 6477 # 6478 # message 6479 # 6480 # } 6481 # } 6482 # Response: 6483 # { 6484 # 6485 # "data": { 6486 # 6487 # "deleteUserSettingDefinition": { 6488 # 6489 # "message": "Application setting (application: 6490 # 80354999-d633-4595-9578-d82f59a5134f, organizationGuid: 6491 # 49a4cbbc-5e83-4c42-b9a3-be6ec0732f09, key: example) has been deleted" 6492 # 6493 # } 6494 # 6495 # } 6496 # } 6497 # 6498 # Arguments 6499 # organizationGuid: Should be required by orgless token, 6500 # or can be set by superadmin 6501 ( 6502 ID!, : 6503 ID, : 6504 String! : 6505 ): DeletePayload! 6506 6507 # Update setting for user (add/update/remove settings) 6508 # Example: 6509 # Request: 6510 # mutation { 6511 # 6512 # updateUserSetting(input: { 6513 # 6514 # application: "80354999-d633-4595-9578-d82f59a5134f", 6515 # 6516 # key: "example12", 6517 # 6518 # value: "example value"}) { 6519 # 6520 # userId 6521 # 6522 # } 6523 # } 6524 # Response: 6525 # { 6526 # 6527 # "data": { 6528 # 6529 # "updateUserSetting": { 6530 # 6531 # "userId": "59cb4e74-7c31-4267-b91e-d4600bc08008" 6532 # 6533 # } 6534 # 6535 # } 6536 # } 6537 UpdateUserSetting): UserSetting ( : 6538 6539 # Create an OpenID Provider 6540 CreateOpenIdProvider): OpenIdProvider ( : 6541 6542 # Update an OpenId Provider by ID 6543 UpdateOpenIdProvider): OpenIdProvider ( : 6544 6545 # Enable Global OpenID Provider for Organization 6546 ( 6547 EnableOpenIdProviderForOrg : 6548 ): UpdatePayload 6549 6550 # Disable Global OpenID Provider for Organization 6551 ( 6552 DisableOpenIdProviderForOrg : 6553 ): UpdatePayload 6554 6555 # Delete OpenID Provider 6556 ID!): DeletePayload ( : 6557 6558 # Get Organization scoped application JWT token 6559 GetApplicationJWT): ApplicationJWTTokenInfo ( : 6560 6561 # Remove an application event endpoint 6562 ID!): DeletePayload ( : 6563 6564 # Update event endpoint for an application 6565 ( 6566 UpdateApplicationEventEndpoint : 6567 ): Application 6568 6569 # Multi Organization Invitation 6570 ( 6571 CreateOrganizationInviteInput! : 6572 ): OrganizationInvite! 6573 6574 ( 6575 UpdateOrganizationInviteInput! : 6576 ): OrganizationInvite! 6577 6578 ( 6579 ID! : 6580 ): OrganizationInfo 6581 6582 # delete organization invitation 6583 # This deletion is hard-delete process. It will remove invitation completely from 6584 # the database. 6585 ID!): DeletePayload ( : 6586 6587 # Create a package 6588 PackageCreateInput): Package ( : 6589 6590 # This updates the specified package. 6591 # 6592 # This will result in upgrading the package by duplicating the original package 6593 # and 6594 # bumping its version number up to the next major version. The new package will 6595 # reflect 6596 # the changes made to the original package. __Note: The original package will not 6597 # be altered in any way.__ 6598 # 6599 # The data returned will be the newly upgraded version of the package. 6600 PackageUpdateInput): Package ( : 6601 6602 # Delete a package 6603 ID!): PackageDeleteResult ( : 6604 6605 # This updates the resources of the specified package. 6606 # 6607 # This will result in upgrading the package by duplicating the original package 6608 # and 6609 # bumping its version number up to the next major version. The new package will 6610 # reflect 6611 # the changes made to the original package's resources. __Note: The original 6612 # package will not 6613 # be altered in any way.__ 6614 # 6615 # The data returned will be the newly upgraded version of the package. 6616 BulkPackageResourceInput): Package ( : 6617 6618 # Add or remove Grants to a package and organization 6619 BulkPackageGrantInput!): Package ( : 6620 6621 String!, : [AuthPermissionType]!): ApiToken ( : 6622 6623 String!, : ApiTokenUpdateInput!): ApiTokenInfo ( : 6624 6625 # Update an ApplicationViewer 6626 # Example: 6627 # Request: 6628 # mutation { 6629 # updateApplicationViewer(viewerId: "2a1a1b58-6983-4002-b9ed-7b7f325f621a", input: 6630 # { name: "Test"}) { 6631 # records{ 6632 # id 6633 # name 6634 # } 6635 # } 6636 # } 6637 # Response: 6638 # { 6639 # "data": { 6640 # "viewers": { 6641 # "records": [ 6642 # { 6643 # "viewerId": "2a1a1b58-6983-4002-b9ed-7b7f325f621a", 6644 # "name": "Test" 6645 # } 6646 # ] 6647 # } 6648 # } 6649 # } 6650 # 6651 # Arguments 6652 # viewerId: Provide an id of the viewer to update. 6653 # input: Input for the update viewer 6654 ( 6655 ID!, : 6656 UpdateApplicationViewerInput! : 6657 ): ApplicationViewer 6658 6659 # Delete an ApplicationViewer 6660 # Example: 6661 # Request: 6662 # mutation { 6663 # deleteApplicationViewer(viewerId: "2a1a1b58-6983-4002-b9ed-7b7f325f621a") { 6664 # records{ 6665 # id 6666 # name 6667 # } 6668 # } 6669 # } 6670 # Response: 6671 # { 6672 # "data": { 6673 # "viewers": { 6674 # "records": [ 6675 # { 6676 # "viewerId": "2a1a1b58-6983-4002-b9ed-7b7f325f621a", 6677 # } 6678 # ] 6679 # } 6680 # } 6681 # } 6682 # 6683 # Arguments 6684 # viewerId: Provide an id of the viewer to delete. 6685 ID!): ApplicationViewer ( : 6686 6687 # Delete an ApplicationViewerBuild 6688 # Example: 6689 # Request: 6690 # mutation { 6691 # deleteApplicationViewerBuild(viewerBuildId: 6692 # "2a1a1b58-6983-4002-b9ed-7b7f325f621a") { 6693 # records{ 6694 # id 6695 # name 6696 # } 6697 # } 6698 # } 6699 # Response: 6700 # { 6701 # "data": { 6702 # "viewers": { 6703 # "records": [ 6704 # { 6705 # "viewerId": "2a1a1b58-6983-4002-b9ed-7b7f325f621a", 6706 # } 6707 # ] 6708 # } 6709 # } 6710 # } 6711 # 6712 # Arguments 6713 # viewerBuildId: Provide an id of the viewer build to delete. 6714 ID!): ApplicationViewerBuild ( : 6715 6716 }
link Required by
This element is not required by anyone