|
1 | 1 | openapi: 3.0.3 |
2 | 2 | info: |
3 | | - title: Task Badger |
| 3 | + title: Taskbadger API |
4 | 4 | version: '0.1' |
5 | 5 | description: Documentation for the Task Badger API |
6 | 6 | paths: |
@@ -675,6 +675,15 @@ components: |
675 | 675 | status: |
676 | 676 | allOf: |
677 | 677 | - $ref: '#/components/schemas/StatusEnum' |
| 678 | + description: |- |
| 679 | + * `pending` - pending |
| 680 | + * `pre_processing` - pre_processing |
| 681 | + * `processing` - processing |
| 682 | + * `post_processing` - post_processing |
| 683 | + * `success` - success |
| 684 | + * `error` - error |
| 685 | + * `cancelled` - cancelled |
| 686 | + * `stale` - stale |
678 | 687 | default: pending |
679 | 688 | value: |
680 | 689 | type: integer |
@@ -712,14 +721,14 @@ components: |
712 | 721 | minimum: 1 |
713 | 722 | nullable: true |
714 | 723 | description: Maximum duration the task can be running for before being considered |
715 | | - failed. (minutes) |
| 724 | + failed. (seconds) |
716 | 725 | stale_timeout: |
717 | 726 | type: integer |
718 | 727 | maximum: 2147483647 |
719 | 728 | minimum: 1 |
720 | 729 | nullable: true |
721 | 730 | description: Maximum time to allow between task updates before considering |
722 | | - the task stale. Only applies when task is in a running state. (minutes) |
| 731 | + the task stale. (seconds) |
723 | 732 | StatusEnum: |
724 | 733 | enum: |
725 | 734 | - pending |
@@ -751,6 +760,15 @@ components: |
751 | 760 | status: |
752 | 761 | allOf: |
753 | 762 | - $ref: '#/components/schemas/StatusEnum' |
| 763 | + description: |- |
| 764 | + * `pending` - pending |
| 765 | + * `pre_processing` - pre_processing |
| 766 | + * `processing` - processing |
| 767 | + * `post_processing` - post_processing |
| 768 | + * `success` - success |
| 769 | + * `error` - error |
| 770 | + * `cancelled` - cancelled |
| 771 | + * `stale` - stale |
754 | 772 | default: pending |
755 | 773 | value: |
756 | 774 | type: integer |
@@ -800,14 +818,14 @@ components: |
800 | 818 | minimum: 1 |
801 | 819 | nullable: true |
802 | 820 | description: Maximum duration the task can be running for before being considered |
803 | | - failed. (minutes) |
| 821 | + failed. (seconds) |
804 | 822 | stale_timeout: |
805 | 823 | type: integer |
806 | 824 | maximum: 2147483647 |
807 | 825 | minimum: 1 |
808 | 826 | nullable: true |
809 | 827 | description: Maximum time to allow between task updates before considering |
810 | | - the task stale. Only applies when task is in a running state. (minutes) |
| 828 | + the task stale. (seconds) |
811 | 829 | url: |
812 | 830 | type: string |
813 | 831 | readOnly: true |
@@ -835,6 +853,15 @@ components: |
835 | 853 | status: |
836 | 854 | allOf: |
837 | 855 | - $ref: '#/components/schemas/StatusEnum' |
| 856 | + description: |- |
| 857 | + * `pending` - pending |
| 858 | + * `pre_processing` - pre_processing |
| 859 | + * `processing` - processing |
| 860 | + * `post_processing` - post_processing |
| 861 | + * `success` - success |
| 862 | + * `error` - error |
| 863 | + * `cancelled` - cancelled |
| 864 | + * `stale` - stale |
838 | 865 | default: pending |
839 | 866 | value: |
840 | 867 | type: integer |
@@ -872,14 +899,14 @@ components: |
872 | 899 | minimum: 1 |
873 | 900 | nullable: true |
874 | 901 | description: Maximum duration the task can be running for before being considered |
875 | | - failed. (minutes) |
| 902 | + failed. (seconds) |
876 | 903 | stale_timeout: |
877 | 904 | type: integer |
878 | 905 | maximum: 2147483647 |
879 | 906 | minimum: 1 |
880 | 907 | nullable: true |
881 | 908 | description: Maximum time to allow between task updates before considering |
882 | | - the task stale. Only applies when task is in a running state. (minutes) |
| 909 | + the task stale. (seconds) |
883 | 910 | required: |
884 | 911 | - name |
885 | 912 | securitySchemes: |
|
0 commit comments