-
Notifications
You must be signed in to change notification settings - Fork 5.1k
/
Files.json
108 lines (108 loc) · 3.07 KB
/
Files.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
"swagger": "2.0",
"info": {
"title": "Azure Data Migration Service (classic) Resource Provider",
"version": "2022-03-30-preview"
},
"securityDefinitions": {
"azure_auth": {
"type": "oauth2",
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"flow": "implicit",
"description": "Azure Active Directory OAuth2 Flow",
"scopes": {
"user_impersonation": "impersonate your user account"
}
}
},
"paths": {},
"definitions": {
"ProjectFileProperties": {
"type": "object",
"description": "Base class for file properties.",
"properties": {
"extension": {
"description": "Optional File extension. If submitted it should not have a leading period and must match the extension from filePath.",
"type": "string"
},
"filePath": {
"description": "Relative path of this file resource. This property can be set when creating or updating the file resource.",
"type": "string"
},
"lastModified": {
"description": "Modification DateTime.",
"type": "string",
"format": "date-time",
"readOnly": true
},
"mediaType": {
"description": "File content type. This property can be modified to reflect the file content type.",
"type": "string"
},
"size": {
"description": "File size.",
"type": "integer",
"format": "int64",
"readOnly": true
}
}
},
"ProjectFile": {
"type": "object",
"description": "A file resource",
"properties": {
"etag": {
"type": "string",
"description": "HTTP strong entity tag value. This is ignored if submitted."
},
"properties": {
"description": "Custom file properties",
"$ref": "#/definitions/ProjectFileProperties"
},
"systemData": {
"$ref": "../sqlmigration.json#/definitions/SystemData",
"description": "Metadata pertaining to creation and last modification of the resource.",
"readOnly": true
}
},
"allOf": [
{
"$ref": "./Common.json#/definitions/Resource"
}
]
},
"FileList": {
"type": "object",
"description": "OData page of files",
"properties": {
"value": {
"type": "array",
"description": "List of files",
"items": {
"$ref": "#/definitions/ProjectFile"
}
},
"nextLink": {
"type": "string",
"description": "URL to load the next page of files"
}
}
},
"FileStorageInfo": {
"type": "object",
"description": "File storage information.",
"properties": {
"uri": {
"description": "A URI that can be used to access the file content.",
"type": "string"
},
"headers": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
}