File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33023302 "content" : {
33033303 "application/json" : {
33043304 "schema" : {
3305- "$ref" : "#/components/schemas/MediaUploadConfigRequestOneShot "
3305+ "$ref" : "#/components/schemas/MediaUploadRequestOneShot "
33063306 }
33073307 },
33083308 "multipart/form-data" : {
33093309 "schema" : {
3310- "$ref" : "#/components/schemas/MediaUploadConfigRequestOneShot "
3310+ "$ref" : "#/components/schemas/MediaUploadRequestOneShot "
33113311 }
33123312 }
33133313 }
@@ -15098,15 +15098,29 @@
1509815098 },
1509915099 "additionalProperties" : false
1510015100 },
15101- "MediaUploadConfigRequestOneShot " : {
15101+ "MediaUploadRequestOneShot " : {
1510215102 "type" : "object",
15103+ "required" : [
15104+ "media",
15105+ "media_category"
15106+ ],
1510315107 "properties" : {
1510415108 "additional_owners" : {
1510515109 "type" : "array",
1510615110 "items" : {
1510715111 "$ref" : "#/components/schemas/UserId"
1510815112 }
1510915113 },
15114+ "media" : {
15115+ "anyOf" : [
15116+ {
15117+ "$ref" : "#/components/schemas/MediaPayloadBinary"
15118+ },
15119+ {
15120+ "$ref" : "#/components/schemas/MediaPayloadByte"
15121+ }
15122+ ]
15123+ },
1511015124 "media_category" : {
1511115125 "$ref" : "#/components/schemas/MediaCategory"
1511215126 },
1512815142 },
1512915143 "shared" : {
1513015144 "type" : "boolean",
15131- "description" : "Whether this media is shared or not."
15145+ "description" : "Whether this media is shared or not.",
15146+ "default" : false
1513215147 }
1513315148 },
1513415149 "additionalProperties" : false
You can’t perform that action at this time.
0 commit comments