123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487 |
- {
- "swagger": "2.0",
- "info": {
- "title": "app/service/main/up/api/v1/api.proto",
- "version": "version not set"
- },
- "schemes": [
- "http",
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "paths": {
- "/x/internal/uper/archive/up/count": {
- "get": {
- "summary": "UpCount 单个up主的稿件计数接口",
- "operationId": "UpCount",
- "responses": {
- "200": {
- "description": "A successful response.",
- "schema": {
- "$ref": "#/definitions/v1UpCountReply"
- }
- }
- },
- "parameters": [
- {
- "name": "mid",
- "in": "query",
- "required": false,
- "type": "string",
- "format": "int64"
- }
- ],
- "tags": [
- "Up"
- ]
- }
- },
- "/x/internal/uper/archive/up/passed": {
- "get": {
- "summary": "UpArcs 单个up主的稿件列表接口-带分页",
- "operationId": "UpArcs",
- "responses": {
- "200": {
- "description": "A successful response.",
- "schema": {
- "$ref": "#/definitions/v1UpArcsReply"
- }
- }
- },
- "parameters": [
- {
- "name": "mid",
- "description": "mid 用户id 必传.",
- "in": "query",
- "required": false,
- "type": "string",
- "format": "int64"
- },
- {
- "name": "pn",
- "description": "pn 第几页 非必传.",
- "in": "query",
- "required": false,
- "type": "integer",
- "format": "int32"
- },
- {
- "name": "ps",
- "description": "ps 分页大小 非必传.",
- "in": "query",
- "required": false,
- "type": "integer",
- "format": "int32"
- }
- ],
- "tags": [
- "Up"
- ]
- }
- },
- "/x/internal/uper/archive/ups/count": {
- "get": {
- "summary": "UpsCount 多个up主的稿件计数接口",
- "operationId": "UpsCount",
- "responses": {
- "200": {
- "description": "A successful response.",
- "schema": {
- "$ref": "#/definitions/v1UpsCountReply"
- }
- }
- },
- "parameters": [
- {
- "name": "mids",
- "description": "mids 多个用户id 必传 最大100个.",
- "in": "query",
- "required": false,
- "type": "array",
- "items": {
- "type": "string",
- "format": "int64"
- }
- }
- ],
- "tags": [
- "Up"
- ]
- }
- },
- "/x/internal/uper/archive/ups/passed": {
- "get": {
- "summary": "UpsArcs 多个up主的稿件列表接口-带分页",
- "operationId": "UpsArcs",
- "responses": {
- "200": {
- "description": "A successful response.",
- "schema": {
- "$ref": "#/definitions/v1UpsArcsReply"
- }
- }
- },
- "parameters": [
- {
- "name": "mids",
- "description": "mids 多个用户id 必传 最大100个.",
- "in": "query",
- "required": false,
- "type": "array",
- "items": {
- "type": "string",
- "format": "int64"
- }
- },
- {
- "name": "pn",
- "description": "pn 第几页 非必传.",
- "in": "query",
- "required": false,
- "type": "integer",
- "format": "int32"
- },
- {
- "name": "ps",
- "description": "ps 分页大小 非必传.",
- "in": "query",
- "required": false,
- "type": "integer",
- "format": "int32"
- }
- ],
- "tags": [
- "Up"
- ]
- }
- }
- },
- "definitions": {
- "v1AidPubTime": {
- "type": "object",
- "properties": {
- "Aid": {
- "type": "string",
- "format": "int64",
- "title": "Aid 稿件aid"
- },
- "PubDate": {
- "type": "string",
- "format": "int64",
- "title": "PubDate 发布时间"
- },
- "Copyright": {
- "type": "integer",
- "format": "int32",
- "title": "Copyright 版权来源"
- }
- },
- "title": "AidPubTime 发布时间的稿件aid的信息"
- },
- "v1Arc": {
- "type": "object",
- "properties": {
- "Aid": {
- "type": "string",
- "format": "int64"
- },
- "Videos": {
- "type": "string",
- "format": "int64"
- },
- "TypeID": {
- "type": "integer",
- "format": "int32"
- },
- "TypeName": {
- "type": "string"
- },
- "Copyright": {
- "type": "integer",
- "format": "int32"
- },
- "Pic": {
- "type": "string"
- },
- "Title": {
- "type": "string"
- },
- "PubDate": {
- "type": "string",
- "format": "int64"
- },
- "Ctime": {
- "type": "string",
- "format": "int64"
- },
- "Desc": {
- "type": "string"
- },
- "State": {
- "type": "integer",
- "format": "int32"
- },
- "Access": {
- "type": "integer",
- "format": "int32"
- },
- "Attribute": {
- "type": "integer",
- "format": "int32"
- },
- "Tag": {
- "type": "string"
- },
- "Tags": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "Duration": {
- "type": "string",
- "format": "int64"
- },
- "MissionID": {
- "type": "string",
- "format": "int64"
- },
- "OrderID": {
- "type": "string",
- "format": "int64"
- },
- "RedirectURL": {
- "type": "string"
- },
- "Forward": {
- "type": "string",
- "format": "int64"
- },
- "Rights": {
- "$ref": "#/definitions/v1Rights"
- },
- "Author": {
- "$ref": "#/definitions/v1Author"
- },
- "Stat": {
- "$ref": "#/definitions/v1Stat"
- },
- "ReportResult": {
- "type": "string"
- },
- "Dynamic": {
- "type": "string"
- },
- "FirstCid": {
- "type": "string",
- "format": "int64"
- },
- "Dimension": {
- "$ref": "#/definitions/v1Dimension"
- }
- }
- },
- "v1Author": {
- "type": "object",
- "properties": {
- "Mid": {
- "type": "string",
- "format": "int64"
- },
- "Name": {
- "type": "string"
- },
- "Face": {
- "type": "string"
- }
- }
- },
- "v1Dimension": {
- "type": "object",
- "properties": {
- "Width": {
- "type": "string",
- "format": "int64"
- },
- "Height": {
- "type": "string",
- "format": "int64"
- },
- "Rotate": {
- "type": "string",
- "format": "int64"
- }
- }
- },
- "v1NoReply": {
- "type": "object",
- "title": "NoReply 没有返回值"
- },
- "v1Rights": {
- "type": "object",
- "properties": {
- "Bp": {
- "type": "integer",
- "format": "int32"
- },
- "Elec": {
- "type": "integer",
- "format": "int32"
- },
- "Download": {
- "type": "integer",
- "format": "int32"
- },
- "Movie": {
- "type": "integer",
- "format": "int32"
- },
- "Pay": {
- "type": "integer",
- "format": "int32"
- },
- "HD5": {
- "type": "integer",
- "format": "int32"
- },
- "NoReprint": {
- "type": "integer",
- "format": "int32"
- },
- "Autoplay": {
- "type": "integer",
- "format": "int32"
- },
- "UGCPay": {
- "type": "integer",
- "format": "int32"
- }
- }
- },
- "v1Stat": {
- "type": "object",
- "properties": {
- "Aid": {
- "type": "string",
- "format": "int64"
- },
- "View": {
- "type": "integer",
- "format": "int32"
- },
- "Danmaku": {
- "type": "integer",
- "format": "int32"
- },
- "Reply": {
- "type": "integer",
- "format": "int32"
- },
- "Fav": {
- "type": "integer",
- "format": "int32"
- },
- "Coin": {
- "type": "integer",
- "format": "int32"
- },
- "Share": {
- "type": "integer",
- "format": "int32"
- },
- "NowRank": {
- "type": "integer",
- "format": "int32"
- },
- "HisRank": {
- "type": "integer",
- "format": "int32"
- },
- "Like": {
- "type": "integer",
- "format": "int32"
- },
- "DisLike": {
- "type": "integer",
- "format": "int32"
- }
- }
- },
- "v1UpAidPubTimeReply": {
- "type": "object",
- "properties": {
- "archives": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/v1AidPubTime"
- }
- }
- },
- "title": "UpAidPubTimeReply 按发布时间的单个up的稿件aid的返回值"
- },
- "v1UpArcsReply": {
- "type": "object",
- "properties": {
- "archives": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/v1Arc"
- }
- }
- },
- "title": "UpArcsReply 单个up主的稿件信息列表返回值"
- },
- "v1UpCountReply": {
- "type": "object",
- "properties": {
- "count": {
- "type": "string",
- "format": "int64"
- }
- },
- "title": "UpCountReply 单个up主的稿件计数返回值"
- },
- "v1UpsAidPubTimeReply": {
- "type": "object",
- "properties": {
- "archives": {
- "type": "object",
- "additionalProperties": {
- "$ref": "#/definitions/v1UpAidPubTimeReply"
- }
- }
- },
- "title": "UpsAidPubTimeReply 按发布时间的多个up的稿件aid的返回值"
- },
- "v1UpsArcsReply": {
- "type": "object",
- "properties": {
- "archives": {
- "type": "object",
- "additionalProperties": {
- "$ref": "#/definitions/v1UpArcsReply"
- }
- }
- },
- "title": "UpsArcsReply 多个up主的稿件信息列表返回值"
- },
- "v1UpsCountReply": {
- "type": "object",
- "properties": {
- "count": {
- "type": "object",
- "additionalProperties": {
- "type": "string",
- "format": "int64"
- }
- }
- },
- "title": "UpsCountReply 多个up主的稿件计数返回值"
- }
- }
- }
|