|
812 | 812 | "$ref": "#/definitions/add-on-attachment"
|
813 | 813 | },
|
814 | 814 | "title": "Info by App"
|
| 815 | + }, |
| 816 | + { |
| 817 | + "description": "Resolve an add-on attachment from a name, optionally passing an app name. If there are matches it returns at least one add-on attachment (exact match) or many.", |
| 818 | + "href": "/actions/addon-attachments/resolve", |
| 819 | + "method": "POST", |
| 820 | + "rel": "resolve", |
| 821 | + "schema": { |
| 822 | + "properties": { |
| 823 | + "addon_attachment": { |
| 824 | + "$ref": "#/definitions/add-on-attachment/definitions/name" |
| 825 | + }, |
| 826 | + "app": { |
| 827 | + "$ref": "#/definitions/app/definitions/name" |
| 828 | + }, |
| 829 | + "addon_service": { |
| 830 | + "$ref": "#/definitions/add-on-service/definitions/name" |
| 831 | + } |
| 832 | + }, |
| 833 | + "required": [ |
| 834 | + "addon_attachment" |
| 835 | + ] |
| 836 | + }, |
| 837 | + "targetSchema": { |
| 838 | + "items": { |
| 839 | + "$ref": "#/definitions/add-on-attachment" |
| 840 | + }, |
| 841 | + "type": [ |
| 842 | + "array" |
| 843 | + ] |
| 844 | + }, |
| 845 | + "title": "Resolution" |
815 | 846 | }
|
816 | 847 | ],
|
817 | 848 | "properties": {
|
|
1629 | 1660 | ]
|
1630 | 1661 | },
|
1631 | 1662 | "confirm": {
|
1632 |
| - "description": "name of owning app for confirmation", |
| 1663 | + "description": "name of billing entity for confirmation", |
1633 | 1664 | "example": "example",
|
1634 | 1665 | "type": [
|
1635 | 1666 | "string"
|
|
1886 | 1917 | ]
|
1887 | 1918 | },
|
1888 | 1919 | "title": "List By Team"
|
| 1920 | + }, |
| 1921 | + { |
| 1922 | + "description": "Resolve an add-on from a name, optionally passing an app name. If there are matches it returns at least one add-on (exact match) or many.", |
| 1923 | + "href": "/actions/addons/resolve", |
| 1924 | + "method": "POST", |
| 1925 | + "rel": "resolve", |
| 1926 | + "schema": { |
| 1927 | + "properties": { |
| 1928 | + "addon": { |
| 1929 | + "$ref": "#/definitions/add-on/definitions/name" |
| 1930 | + }, |
| 1931 | + "app": { |
| 1932 | + "$ref": "#/definitions/app/definitions/name" |
| 1933 | + }, |
| 1934 | + "addon_service": { |
| 1935 | + "$ref": "#/definitions/add-on-service/definitions/name" |
| 1936 | + } |
| 1937 | + }, |
| 1938 | + "required": [ |
| 1939 | + "addon" |
| 1940 | + ] |
| 1941 | + }, |
| 1942 | + "targetSchema": { |
| 1943 | + "items": { |
| 1944 | + "$ref": "#/definitions/add-on" |
| 1945 | + }, |
| 1946 | + "type": [ |
| 1947 | + "array" |
| 1948 | + ] |
| 1949 | + }, |
| 1950 | + "title": "Resolution" |
1889 | 1951 | }
|
1890 | 1952 | ],
|
1891 | 1953 | "properties": {
|
|
1907 | 1969 | "object"
|
1908 | 1970 | ]
|
1909 | 1971 | },
|
| 1972 | + "billing_entity": { |
| 1973 | + "description": "billing entity associated with this add-on", |
| 1974 | + "type": [ |
| 1975 | + "object" |
| 1976 | + ], |
| 1977 | + "properties": { |
| 1978 | + "id": { |
| 1979 | + "description": "unique identifier of the billing entity", |
| 1980 | + "example": "01234567-89ab-cdef-0123-456789abcdef", |
| 1981 | + "format": "uuid", |
| 1982 | + "readOnly": true, |
| 1983 | + "type": [ |
| 1984 | + "string" |
| 1985 | + ] |
| 1986 | + }, |
| 1987 | + "name": { |
| 1988 | + "desrciption": "name of the billing entity", |
| 1989 | + "example": "acme_corp", |
| 1990 | + "readOnly": true, |
| 1991 | + "type": [ |
| 1992 | + "string" |
| 1993 | + ] |
| 1994 | + }, |
| 1995 | + "type": { |
| 1996 | + "description": "type of Object of the billing entity, new types allowed at any time", |
| 1997 | + "enum": [ |
| 1998 | + "app", |
| 1999 | + "team" |
| 2000 | + ], |
| 2001 | + "example": "team", |
| 2002 | + "readOnly": true, |
| 2003 | + "type": [ |
| 2004 | + "string" |
| 2005 | + ] |
| 2006 | + } |
| 2007 | + }, |
| 2008 | + "strictProperties": true |
| 2009 | + }, |
1910 | 2010 | "app": {
|
1911 | 2011 | "description": "billing application associated with this add-on",
|
1912 | 2012 | "type": [
|
|
0 commit comments