File tree Expand file tree Collapse file tree 2 files changed +87
-0
lines changed
Expand file tree Collapse file tree 2 files changed +87
-0
lines changed Original file line number Diff line number Diff line change 5454 {
5555 "path" :" /api-docs/videosNoApi" ,
5656 "description" :" Operations attaching videos with users"
57+ },
58+ {
59+ "path" :" /api-docs/activities" ,
60+ "description" :" Operations attaching videos with users"
5761 }
5862 ]
5963}
Original file line number Diff line number Diff line change 1+ {
2+ "apiVersion": "0.2",
3+ "apis": [
4+ {
5+ "description": "Operations about Activities",
6+ "operations": [
7+ {
8+ "errorResponses": [
9+ {
10+ "code": 400,
11+ "reason": "User with given id doesn't exist"
12+ }
13+ ],
14+ "httpMethod": "GET",
15+ "nickname": "obtain",
16+ "notes": "Creating tokens",
17+ "parameters": [
18+ {
19+ "allowMultiple": false,
20+ "dataType": "string",
21+ "description": "User",
22+ "name": "id",
23+ "paramType": "path",
24+ "required": true
25+ },
26+ {
27+ "allowMultiple": false,
28+ "dataType": "string",
29+ "description": "Created after date. format: yyyy-mm-dd",
30+ "name": "from",
31+ "paramType": "query",
32+ "required": false
33+ },
34+ {
35+ "allowMultiple": false,
36+ "dataType": "string",
37+ "description": "Create equals or before date. format: yyyy-mm-dd",
38+ "name": "to",
39+ "paramType": "query",
40+ "required": false
41+ }
42+ ],
43+ "responseClass": "Activity",
44+ "summary": "Gets videos that reply to opinions from user passed and ticckles from same user. Optional to filter by dates"
45+ }
46+ ],
47+ "path": "/api/activity/{id}"}
48+ ],
49+ "basePath": "http://192.168.1.131:3000/",
50+ "models": {
51+ "Video": {
52+ "id": "Video",
53+ "properties": {
54+ "type": {
55+ "type": "string"
56+ },
57+ "date": {
58+ "type": "date"
59+ },
60+ "title": {
61+ "type": "string"
62+ },
63+ "id": {
64+ "type": "int"
65+ },
66+ "topic_id": {
67+ "type": "int"
68+ },
69+ "user_id": {
70+ "type": "int"
71+ },
72+ "user_avatar": {
73+ "type": "file"
74+ },
75+ "user_name": {
76+ "type": "string"
77+ }
78+ }
79+ }
80+ },
81+ "resourcePath": "/store",
82+ "swaggerVersion": "1.1"
83+ }
You can’t perform that action at this time.
0 commit comments