mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-05 07:10:30 +01:00
37 lines
1.1 KiB
YAML
37 lines
1.1 KiB
YAML
get:
|
|
tags:
|
|
- users
|
|
summary: Get user's uploads
|
|
parameters:
|
|
- name: userslug
|
|
in: path
|
|
required: true
|
|
schema:
|
|
type: string
|
|
example: admin
|
|
responses:
|
|
"200":
|
|
description: ""
|
|
content:
|
|
application/json:
|
|
schema:
|
|
allOf:
|
|
- $ref: ../../../components/schemas/UserObject.yaml#/UserObjectFull
|
|
- type: object
|
|
properties:
|
|
uploads:
|
|
type: array
|
|
items:
|
|
type: object
|
|
properties:
|
|
name:
|
|
type: string
|
|
url:
|
|
type: string
|
|
privateUploads:
|
|
type: boolean
|
|
title:
|
|
type: string
|
|
- $ref: ../../../components/schemas/Pagination.yaml#/Pagination
|
|
- $ref: ../../../components/schemas/Breadcrumbs.yaml#/Breadcrumbs
|
|
- $ref: ../../../components/schemas/CommonProps.yaml#/CommonProps |