definitions: admin.AccountInfo: properties: email: type: string password: type: string type: object admin.AdminAuthContainer: properties: access_token: type: string permission: $ref: '#/definitions/models.AdminPermission' type: object admin.RegisterAdministratorData: properties: chargeof: type: string email: type: string name: type: string password: type: string phone: type: string position: type: string team: type: string type: object admin.RegisterArtistData: properties: category: type: string email: type: string name: type: string phone: type: string team: type: string type: object admin.SettingData: properties: commission: type: number gas_deposit: type: number special_collection: type: string type: object admin.UpdateCuration: properties: id: type: integer index: type: integer type: object admin.UpdatePermission: properties: admin_id: type: integer admin_permission: type: boolean collection_permission: type: boolean log_permission: type: boolean system_permission: type: boolean user_permission: type: boolean type: object admin.UpdateStatus: properties: id: type: integer status: type: string type: object common.ActivityItem: properties: created_at: type: string currency: type: string from_address: type: string from_user_is_artist: type: boolean from_user_name: type: string from_user_profile: type: string is_cancel: type: boolean log_relation_id: type: integer log_type: type: string price: type: string sale_id: type: integer sale_uid: type: string to_address: type: string to_user_is_artist: type: boolean to_user_name: type: string to_user_profile: type: string token_content_url: type: string token_id: type: integer token_name: type: string tx: type: string type: object common.CollectionItem: properties: collection_id: type: integer collection_name: type: string cover_image: type: string is_official: type: boolean owner_name: type: string thumbnail_image: type: string total_item: type: integer total_volume: type: number user_id: type: integer type: object common.ExpItem: properties: bid_count: type: integer collection_id: type: integer collection_name: type: string collection_thumbnail_image: type: string content_title: type: string content_url: type: string created_at: type: string current_currency: type: string current_price: type: string end_at: type: string fixed_price: type: string is_artist: type: boolean is_like: type: boolean is_official_collection: type: boolean item_index: type: integer lastest_currency: type: string lastest_price: type: string likes: type: integer owner_name: type: string owner_thumbnail_image: type: string sale_id: type: integer sale_status: type: string sale_type: type: string start_price: type: string token_id: type: integer total_count: type: integer user_id: type: integer type: object common.Filter: properties: category: type: string collection_name: type: string currency: type: string currency_amount_end: type: string currency_amount_start: type: string limit: default: -1 type: integer network: type: string offset: default: -1 type: integer sale_status: description: for 개인페이지의 판매중 type: string sale_type: type: string token_name: type: string type: object models.AdminLog: properties: action_type: description: '[ 2] action_type char(10) null: false primary: false isArray: false auto: false col: char len: 10 default: []' type: string actioned_at: description: '[ 4] actioned_at timestamp null: false primary: false isArray: false auto: false col: timestamp len: -1 default: []' type: string admin_id: description: '[ 1] admin_id ubigint null: false primary: false isArray: false auto: false col: ubigint len: -1 default: []' type: integer created_at: description: '[ 5] created_at timestamp null: false primary: false isArray: false auto: false col: timestamp len: -1 default: [CURRENT_TIMESTAMP]' type: string deleted_at: description: '[ 7] deleted_at timestamp null: true primary: false isArray: false auto: false col: timestamp len: -1 default: []' type: string id: description: '[ 0] id ubigint null: false primary: true isArray: false auto: true col: ubigint len: -1 default: []' type: integer message: description: '[ 8] message varchar(256) null: false primary: false isArray: false auto: false col: varchar len: 256 default: []' type: string sub_action_type: description: '[ 3] sub_action_type char(8) null: false primary: false isArray: false auto: false col: char len: 8 default: []' type: string updated_at: description: '[ 6] updated_at timestamp null: false primary: false isArray: false auto: false col: timestamp len: -1 default: [CURRENT_TIMESTAMP]' type: string type: object models.AdminPermission: properties: admin: description: '[ 5] admin tinyint null: false primary: false isArray: false auto: false col: tinyint len: -1 default: [0]' type: integer admin_id: description: '[ 1] admin_id ubigint null: false primary: false isArray: false auto: false col: ubigint len: -1 default: []' type: integer collection: description: '[ 3] collection tinyint null: false primary: false isArray: false auto: false col: tinyint len: -1 default: [0]' type: integer created_at: description: '[ 7] created_at timestamp null: false primary: false isArray: false auto: false col: timestamp len: -1 default: [CURRENT_TIMESTAMP]' type: string deleted_at: description: '[ 9] deleted_at timestamp null: true primary: false isArray: false auto: false col: timestamp len: -1 default: []' type: string id: description: '[ 0] id ubigint null: false primary: true isArray: false auto: true col: ubigint len: -1 default: []' type: integer log: description: '[ 6] log tinyint null: false primary: false isArray: false auto: false col: tinyint len: -1 default: [0]' type: integer system: description: '[ 4] system tinyint null: false primary: false isArray: false auto: false col: tinyint len: -1 default: [0]' type: integer updated_at: description: '[ 8] updated_at timestamp null: false primary: false isArray: false auto: false col: timestamp len: -1 default: [CURRENT_TIMESTAMP]' type: string user: description: '[ 2] user tinyint null: false primary: false isArray: false auto: false col: tinyint len: -1 default: [0]' type: integer type: object models.Setting: properties: commission: description: '[ 1] commission double null: false primary: false isArray: false auto: false col: double len: -1 default: []' type: number created_at: description: '[ 5] created_at timestamp null: false primary: false isArray: false auto: false col: timestamp len: -1 default: [CURRENT_TIMESTAMP]' type: string deleted_at: description: '[ 7] deleted_at timestamp null: true primary: false isArray: false auto: false col: timestamp len: -1 default: []' type: string gas_deposit: description: '[ 3] gas_deposit double null: false primary: false isArray: false auto: false col: double len: -1 default: []' type: number id: description: '[ 0] id ubigint null: false primary: true isArray: false auto: true col: ubigint len: -1 default: []' type: integer special_collection: description: '[ 2] special_collection varchar(128) null: false primary: false isArray: false auto: false col: varchar len: 128 default: []' type: string treasury_address: description: '[ 4] treasury_address varchar(256) null: false primary: false isArray: false auto: false col: varchar len: 256 default: []' type: string updated_at: description: '[ 6] updated_at timestamp null: false primary: false isArray: false auto: false col: timestamp len: -1 default: [CURRENT_TIMESTAMP]' type: string type: object models.Traits: properties: created_at: description: '[ 4] created_at timestamp null: false primary: false isArray: false auto: false col: timestamp len: -1 default: [CURRENT_TIMESTAMP]' type: string deleted_at: description: '[ 6] deleted_at timestamp null: true primary: false isArray: false auto: false col: timestamp len: -1 default: []' type: string id: description: '[ 0] id ubigint null: false primary: true isArray: false auto: true col: ubigint len: -1 default: []' type: integer key: description: '[ 2] key varchar(256) null: false primary: false isArray: false auto: false col: varchar len: 256 default: []' type: string token_id: description: '[ 1] token_id ubigint null: false primary: false isArray: false auto: false col: ubigint len: -1 default: []' type: integer updated_at: description: '[ 5] updated_at timestamp null: false primary: false isArray: false auto: false col: timestamp len: -1 default: [CURRENT_TIMESTAMP]' type: string value: description: '[ 3] value varchar(256) null: false primary: false isArray: false auto: false col: varchar len: 256 default: []' type: string type: object sale.BidData: properties: bid_price: type: number currency: type: string sale_id: type: integer type: object sale.RegisterResaleData: properties: currency: type: string end_at: type: string price: type: number sale_type: type: string start_at: type: string start_price: type: number token_id: type: integer required: - currency - sale_type - token_id type: object sale.TargetID: properties: id: type: integer type: object token.CollectionData: properties: collection_id: type: integer is_official: type: boolean name: type: string thumbnail_image: type: string type: object token.Like: properties: is_like: type: boolean token_id: type: integer required: - token_id type: object token.TokenBaseInfo: properties: collection: items: $ref: '#/definitions/token.CollectionData' type: array commission: type: number type: object user.AuthenticationSNS: properties: code: type: string type: type: string required: - code - type type: object user.CertificationBody: properties: amount: type: number currency: type: string required: - amount - currency type: object user.Transfer: properties: amount: type: number code: type: string currency: type: string to_address: type: string required: - amount - code - currency - to_address type: object view.AdministratorList: properties: admin: type: integer chargeof: type: string collection: type: integer created_at: type: string email: type: string id: type: integer log: type: integer name: type: string phone: type: string position: type: string status: type: string system: type: integer team: type: string update_at: type: string user: type: integer type: object view.CollectionInfo: properties: contract_address: type: string cover_image: type: string curating_number: type: integer description: type: string highest_sale_price: type: number id: type: integer is_official: type: boolean is_owner: type: boolean items: type: integer market_cap: type: number name: type: string recent_trading_day: type: string status: type: string symbol: type: string thumbnail_image: type: string total_like_count: type: integer total_volume: type: number user_name: type: string type: object view.MemberList: properties: address: type: string check_sum: type: string created_at: type: string email: type: string enc_version: type: integer id: type: integer name: type: string phone: type: string status: type: string team: type: string type: object view.ResaleBaseData: properties: collection_id: type: integer collection_is_official: type: boolean collection_name: type: string collection_thumbnail_image: type: string commission: type: number content_url: type: string description: type: string name: type: string network: type: string royalties: type: integer token_id: type: integer total_count: type: integer type: type: string type: object view.Settings: properties: network_commission: type: number service_commission: type: number type: object view.SimpleProfile: properties: settings: $ref: '#/definitions/view.Settings' simple_profile: $ref: '#/definitions/view.UserBaseData' type: object view.TokenBaseData: properties: artist_is_official: type: boolean artist_name: type: string artist_profile_image: type: string collection_is_official: type: boolean collection_name: type: string collection_thumbnail_image: type: string content_url: type: string description: type: string id: type: integer index: type: integer is_like: type: boolean is_owner: type: boolean like_count: type: integer name: type: string network: type: string owner_is_official: type: boolean royalties: type: integer total_count: type: integer type: type: string uid: type: string user_name: type: string user_profile_image: type: string type: object view.TokenDetailData: properties: token: $ref: '#/definitions/view.TokenBaseData' traits: items: $ref: '#/definitions/models.Traits' type: array type: object view.TokenOwnerList: properties: index: type: integer is_official: type: boolean name: type: string thumbnail_image: type: string token_id: type: integer total_count: type: integer updated_at: type: string type: object view.TokenResaleData: properties: token: $ref: '#/definitions/view.ResaleBaseData' traits: items: $ref: '#/definitions/models.Traits' type: array type: object view.TokenSet: properties: collections: items: $ref: '#/definitions/view.CollectionInfo' type: array curating_list: items: $ref: '#/definitions/common.ExpItem' type: array explore: items: $ref: '#/definitions/common.ExpItem' type: array hot_bids: items: $ref: '#/definitions/common.ExpItem' type: array special_bids: items: $ref: '#/definitions/common.ExpItem' type: array time_auctions: items: $ref: '#/definitions/common.ExpItem' type: array type: object view.UserBaseData: properties: address: type: string available_eth_balance: type: number available_mf_balance: type: number available_mr_balance: type: number cover_image: type: string description: type: string email: type: string eth_balance: type: number is_artist: type: boolean mf_balance: type: number mr_balance: type: number name: type: string thumbnail_image: type: string twitter: type: string user_id: type: integer type: object info: contact: {} paths: /admin/administrator: get: consumes: - application/json description: 관리자 리스트 가져오기 produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/view.AdministratorList' security: - ApiKeyAuth: [] summary: get administrator list tags: - admin post: consumes: - application/json description: 관리자 등록 parameters: - description: body struct in: body name: RegisterAdministratorData required: true schema: $ref: '#/definitions/admin.RegisterAdministratorData' produces: - application/json responses: "200": description: OK schema: type: number security: - ApiKeyAuth: [] summary: create administrator tags: - admin /admin/administrator/permission: patch: consumes: - application/json description: 관리자 권한 변경 parameters: - description: selected target data in: body name: UpdatePermission required: true schema: $ref: '#/definitions/admin.UpdatePermission' produces: - application/json responses: "200": description: OK schema: type: string security: - ApiKeyAuth: [] summary: update administrator permmsion tags: - admin /admin/administrator/status: patch: consumes: - application/json description: 관리자 상태값 변경 parameters: - description: selected target data in: body name: UpdateStatus required: true schema: $ref: '#/definitions/admin.UpdateStatus' produces: - application/json responses: "200": description: OK schema: type: string security: - ApiKeyAuth: [] summary: update administrator status tags: - admin /admin/artist: get: consumes: - application/json description: 작가 리스트 가져오기 produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/view.MemberList' security: - ApiKeyAuth: [] summary: get artist list tags: - admin post: consumes: - application/json description: 작가 등록 parameters: - description: body struct in: body name: RegisterArtistData required: true schema: $ref: '#/definitions/admin.RegisterArtistData' produces: - application/json responses: "200": description: OK schema: type: number security: - ApiKeyAuth: [] summary: create artist tags: - admin /admin/artist/status: patch: consumes: - application/json description: 작가 상태값 변경 parameters: - description: selected target data in: body name: UpdateStatus required: true schema: $ref: '#/definitions/admin.UpdateStatus' produces: - application/json responses: "200": description: OK schema: type: string security: - ApiKeyAuth: [] summary: update artist status tags: - admin /admin/auth/signin: post: consumes: - application/json description: 어드민 로그인 parameters: - description: body struct in: body name: AccountInfo required: true schema: $ref: '#/definitions/admin.AccountInfo' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/admin.AdminAuthContainer' summary: signin tags: - admin /admin/collection: get: consumes: - application/json description: 데이터가 쌓인 이후에 진행 예정, 컬렉션 리스트 가져오기 produces: - application/json responses: "200": description: OK schema: items: $ref: '#/definitions/view.CollectionInfo' type: array security: - ApiKeyAuth: [] summary: get collection list tags: - admin /admin/collection/curation: patch: consumes: - application/json description: 컬렉션 큐레이션 변경 parameters: - description: selected target data in: body name: UpdateCuration required: true schema: $ref: '#/definitions/admin.UpdateCuration' produces: - application/json responses: "200": description: OK schema: type: string security: - ApiKeyAuth: [] summary: update collection curation tags: - admin /admin/collection/status: patch: consumes: - application/json description: 컬렉션 상태값 변경 (보이기, 숨김) parameters: - description: selected target data in: body name: UpdateStatus required: true schema: $ref: '#/definitions/admin.UpdateStatus' produces: - application/json responses: "200": description: OK schema: type: string security: - ApiKeyAuth: [] summary: update collection status tags: - admin /admin/log: get: consumes: - application/json description: 어드민 로그 가져오기 produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/models.AdminLog' security: - ApiKeyAuth: [] summary: get log list tags: - admin /admin/setting: get: consumes: - application/json description: 현재 셋팅 값 가져오기 produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/models.Setting' security: - ApiKeyAuth: [] summary: get setting list tags: - admin /admin/setting/{type}: patch: consumes: - application/json description: 설정 값 변경 parameters: - description: selected target data in: body name: SettingData required: true schema: $ref: '#/definitions/admin.SettingData' - description: 'type: commission, special_collection, gas_deposit' in: path name: type required: true type: string produces: - application/json responses: "200": description: OK schema: type: string security: - ApiKeyAuth: [] summary: update setting value tags: - admin /admin/user: get: consumes: - application/json description: 유저 리스트 가져오기 produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/view.MemberList' security: - ApiKeyAuth: [] summary: get user list tags: - admin /admin/user/status: patch: consumes: - application/json description: 유저 상태값 변경 parameters: - description: selected target data in: body name: UpdateStatus required: true schema: $ref: '#/definitions/admin.UpdateStatus' produces: - application/json responses: "200": description: OK schema: type: string security: - ApiKeyAuth: [] summary: update user status tags: - admin /collection: patch: consumes: - multipart/form-data description: '컬렉션 수정, json struct = {description: string, collection_id: uin64}' parameters: - description: thumbnail image in: formData name: thumbnailImage required: true type: file - description: cover image in: formData name: coverImage required: true type: file - in: formData name: json type: string produces: - application/json responses: "200": description: OK schema: type: string security: - ApiKeyAuth: [] summary: update collection tags: - collection post: consumes: - multipart/form-data description: '컬렉션 등록, json struct = {name: string, symbol: string, description: string, type: string}' parameters: - description: thumbnail image in: formData name: thumbnailImage required: true type: file - description: cover image in: formData name: coverImage required: true type: file - in: formData name: json type: string produces: - application/json responses: "200": description: OK schema: type: string security: - ApiKeyAuth: [] summary: create collection tags: - collection /collection/{collection_name}: get: consumes: - application/json description: 컬렉션 페이지에 있는 기본 정보 (탭 데이터는 따로 가져와야 한다.) parameters: - description: collection name in: path name: collection_name required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/view.CollectionInfo' summary: get collection info tags: - collection /collection/activity/{collection_name}: post: consumes: - application/json description: 컬렉션 페이지 활동 탭 parameters: - description: collection name in: path name: collection_name required: true type: string produces: - application/json responses: "200": description: OK schema: items: $ref: '#/definitions/common.ExpItem' type: array summary: get activities in collection tags: - collection /collection/duplicate/{name}: get: consumes: - application/json description: 컬렉션 이름 중복체크 parameters: - description: check duplicate name in: path name: name required: true type: string produces: - application/json responses: "200": description: OK schema: type: string summary: collection profile name duplicate check. tags: - collection /collection/item/{collection_name}: post: consumes: - application/json description: 컬렉션 페이지 아이템 탭 parameters: - description: collection name in: path name: collection_name required: true type: string - description: filter data in: body name: common.Filter required: true schema: $ref: '#/definitions/common.Filter' produces: - application/json responses: "200": description: OK schema: items: $ref: '#/definitions/common.ExpItem' type: array summary: get items in collection tags: - collection /explore/home: post: consumes: - application/json description: 탐색하기 home data parameters: - description: filter object in: body name: common.Filter required: true schema: $ref: '#/definitions/common.Filter' produces: - application/json responses: "200": description: OK schema: items: $ref: '#/definitions/common.ExpItem' type: array summary: explore filter data tags: - explore /explore/search: post: consumes: - application/json description: 필터링중 컬렉션 이름으로 키워드 검색 할 때 사용하며, filter.collectionName이 빈 값인 경우 tvl 기준 limit 10개 리턴 parameters: - description: filter object in: body name: common.Filter required: true schema: $ref: '#/definitions/common.Filter' produces: - application/json responses: "200": description: OK schema: type: obejct summary: explore collection filter list tags: - explore /health: get: consumes: - application/json description: API to check the status of the server produces: - application/json responses: "200": description: OK schema: type: string summary: API to check the status of the server tags: - health check /home: get: consumes: - application/json description: index 페이지 데이터 produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/view.TokenSet' summary: get index data tags: - home /sale/{sale_id}: get: consumes: - application/json description: NFT 판매 상세페이지 데이터 가져오기 parameters: - description: sale id in: path name: sale_id required: true type: string produces: - application/json responses: "200": description: OK schema: type: obejct summary: get detail sale data tags: - sale /sale/auction: post: consumes: - application/json description: 최고가 판매 parameters: - description: body struct in: body name: BidData required: true schema: $ref: '#/definitions/sale.BidData' produces: - application/json responses: "200": description: OK schema: type: string security: - ApiKeyAuth: [] summary: highest price sell tags: - sale /sale/bid: patch: consumes: - application/json description: 입찰 취소하기, 입찰을 다시하려면 취소 후 다시 해야한다. parameters: - description: body struct in: body name: TargetID required: true schema: $ref: '#/definitions/sale.TargetID' produces: - application/json responses: "200": description: OK schema: type: string security: - ApiKeyAuth: [] summary: cancel bid tags: - sale post: consumes: - application/json description: 입찰하기 parameters: - description: body struct in: body name: BidData required: true schema: $ref: '#/definitions/sale.BidData' produces: - application/json responses: "200": description: OK schema: type: string security: - ApiKeyAuth: [] summary: create bid tags: - sale /sale/bid/{sale_id}: get: consumes: - application/json description: NFT 판매 상세페이지 경매 기록 탭 parameters: - description: sale id in: path name: sale_id required: true type: string produces: - application/json responses: "200": description: OK schema: type: obejct security: - ApiKeyAuth: [] summary: get bid history tags: - sale /sale/buy: post: consumes: - application/json description: 아이템 즉시 구매 parameters: - description: body struct in: body name: BidData required: true schema: $ref: '#/definitions/sale.BidData' produces: - application/json responses: "200": description: OK schema: type: string security: - ApiKeyAuth: [] summary: buy now item tags: - sale /sale/resale: post: consumes: - application/json description: NFT 구입 후 재등록 API parameters: - description: body struct in: body name: RegisterResaleData required: true schema: $ref: '#/definitions/sale.RegisterResaleData' produces: - application/json responses: "200": description: OK schema: type: string security: - ApiKeyAuth: [] summary: create resale tags: - sale /sale/status: patch: consumes: - application/json description: 등록한 오너인 경우에만 실행가능, 판매하지 않고 판매를 강제 종료시킨다. parameters: - description: selected target id in: body name: TargetID required: true schema: $ref: '#/definitions/sale.TargetID' produces: - application/json responses: "200": description: OK schema: type: string security: - ApiKeyAuth: [] summary: update sale statue for cancel tags: - sale /token: post: consumes: - multipart/form-data description: NFT 생성과 동시에 판매 등록 parameters: - description: content image in: formData name: contentImage required: true type: file - in: formData name: json type: string produces: - application/json responses: "200": description: OK schema: type: string security: - ApiKeyAuth: [] summary: create NFT tags: - token /token/{token_id}: get: consumes: - application/json description: 토큰 상세페이지 parameters: - description: token id in: path name: token_id required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/view.TokenDetailData' summary: get token detail tags: - token /token/baseinfo: get: consumes: - application/json description: 아이템 생성 시 내가 만든 컬렉션 리스트와, 사이트 커미션 수수료 정보 가져오기 parameters: - description: erc721, erc1155 in: query name: type required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/token.TokenBaseInfo' security: - ApiKeyAuth: [] summary: get token base info tags: - token /token/like: patch: consumes: - application/json description: 토큰 좋아요 기능 parameters: - description: selected target id in: body name: Like required: true schema: $ref: '#/definitions/token.Like' produces: - application/json responses: "200": description: OK schema: type: string security: - ApiKeyAuth: [] summary: update token like count tags: - token /token/log/{token_id}: get: consumes: - application/json description: NFT 판매 페이지 기록 탭 parameters: - description: token id in: path name: token_id required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/common.ActivityItem' summary: get token log tags: - token /token/owner: get: consumes: - application/json description: NFT 1155타입의 소유자 탭 parameters: - description: type in: query name: token_uid required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/view.TokenOwnerList' summary: get owner list tags: - token /token/resaleinfo/{token_id}: get: consumes: - application/json description: 토큰 재판매 시 설정해야하는 기본 데이터 parameters: - description: token id in: path name: token_id required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/view.TokenResaleData' security: - ApiKeyAuth: [] summary: get resale data tags: - token /user/activity/{name}: get: consumes: - application/json description: 유저 프로필 활동 탭 parameters: - description: user profile name in: path name: name required: true type: string produces: - application/json responses: "200": description: OK schema: items: $ref: '#/definitions/common.ActivityItem' type: array summary: user activity list tags: - user /user/authenticate: post: consumes: - application/json description: redirect url 호출이후 받은 코드로 기존유저라면 로그인, 새로운 유저라면 가입 후 로그인 parameters: - description: oauth data in: body name: AuthenticationSNS required: true schema: $ref: '#/definitions/user.AuthenticationSNS' produces: - application/json responses: "200": description: OK schema: type: string summary: sign-in tags: - user /user/authenticate/temp: get: consumes: - application/json description: SNS로그인 테스트 이전에 동일한 로직으로 유저 회원가입, 세션 획득을 위한 임시 함수, 입력된 이메일이 없으면 회원가입 이후 로그인, 있으면 로그인 parameters: - description: email in: query name: email required: true type: string produces: - application/json responses: "200": description: OK schema: type: string summary: temp user authentication tags: - user /user/bid: post: consumes: - application/json description: 유저 경매 히스토리 produces: - application/json responses: "200": description: OK schema: items: $ref: '#/definitions/common.ExpItem' type: array security: - ApiKeyAuth: [] summary: user bid list tags: - user /user/certification/code: post: consumes: - application/json description: 출금하기 2차 인증 parameters: - description: 'currency: mf, mr, eth' in: body name: CertificationBody required: true schema: $ref: '#/definitions/user.CertificationBody' produces: - application/json responses: "200": description: OK schema: type: string summary: send certification code tags: - user /user/collection/{name}: post: consumes: - application/json description: 유저 프로필 컬렉션 탭 parameters: - description: filter object in: body name: common.Filter required: true schema: $ref: '#/definitions/common.Filter' - description: user profile name in: path name: name required: true type: string produces: - application/json responses: "200": description: OK schema: items: $ref: '#/definitions/common.CollectionItem' type: array security: - ApiKeyAuth: [] summary: collection list tags: - user /user/duplicate/{name}: get: consumes: - application/json description: 유저 이름 중복체크 parameters: - description: check duplicate name in: path name: name required: true type: string produces: - application/json responses: "200": description: OK schema: type: string summary: User profile name duplicate check. tags: - user /user/like/{name}: post: consumes: - application/json description: 유저 프로필 좋아요 탭 parameters: - description: filter object in: body name: common.Filter required: true schema: $ref: '#/definitions/common.Filter' - description: user profile name in: path name: name required: true type: string produces: - application/json responses: "200": description: OK schema: items: $ref: '#/definitions/common.ExpItem' type: array summary: user like list tags: - user /user/onsale/{name}: post: consumes: - application/json description: 판매중인 NFT 리스트 parameters: - description: filter object in: body name: common.Filter required: true schema: $ref: '#/definitions/common.Filter' - description: user profile name in: path name: name required: true type: string produces: - application/json responses: "200": description: OK schema: items: $ref: '#/definitions/common.ExpItem' type: array security: - ApiKeyAuth: [] summary: onesale list tags: - user /user/owned: post: consumes: - application/json description: 보유중인 NFT 리스트 parameters: - description: filter object in: body name: common.Filter required: true schema: $ref: '#/definitions/common.Filter' produces: - application/json responses: "200": description: OK schema: items: $ref: '#/definitions/common.ExpItem' type: array security: - ApiKeyAuth: [] summary: owned list tags: - user /user/profile: get: consumes: - application/json description: 헤더, 프로필 편집에 사용할 데이터 produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/view.SimpleProfile' security: - ApiKeyAuth: [] summary: user simple profile data tags: - user patch: consumes: - multipart/form-data description: 유저 정보 업데이트 parameters: - description: thumbnail image in: formData name: thumbnailImage required: true type: file - description: cover image in: formData name: coverImage required: true type: file - in: formData name: json type: string produces: - application/json responses: "200": description: OK schema: type: string security: - ApiKeyAuth: [] summary: update user profile tags: - user /user/profile/{name}: get: consumes: - application/json description: 유저 기본 정보 가져오기 parameters: - description: user profile name in: path name: name required: true type: string produces: - application/json responses: "200": description: OK schema: type: string summary: user basic profile data tags: - user /user/redirect/url: get: consumes: - application/json description: SNS 로그인 버튼 클릭시 redirect_url을 받는 API, {type=google, kakao} parameters: - description: type in: query name: type required: true type: string produces: - application/json responses: "200": description: OK schema: type: string summary: sns redirect url tags: - user /user/transfer: post: consumes: - application/json description: 출금하기 parameters: - description: 'currency: mf1, mr, eth' in: body name: Transfer required: true schema: $ref: '#/definitions/user.Transfer' produces: - application/json responses: "200": description: OK schema: type: string summary: token transfer tags: - user securityDefinitions: ApiKeyAuth: in: header name: Authorization type: apiKey swagger: "2.0"