1 | jrpc; will make request to [https://depot.haiku-os.org/__api/v1/user]
|
---|
2 | jrpc request; {"jsonrpc":"2.0","id":5,"method":"authenticateUser","params":[{"nickname":"humdinger","passwordClear":"my-redacted-password"}]}
|
---|
3 | jrpc: Resolving https://depot.haiku-os.org/__api/v1/user
|
---|
4 | jrpc: Hostname resolved to: 94.130.128.252:443
|
---|
5 | jrpc: Connection to depot.haiku-os.org on port 443.
|
---|
6 | jrpc: Connection opened, sending request.
|
---|
7 | jrpc: Host: depot.haiku-os.org
|
---|
8 | jrpc: Accept: */*
|
---|
9 | jrpc: Accept-Encoding: gzip
|
---|
10 | jrpc: Connection: close
|
---|
11 | jrpc: User-Agent: HaikuDepot/0.0.2
|
---|
12 | jrpc: Content-Length: 141
|
---|
13 | jrpc: Content-Type: application/json
|
---|
14 | jrpc: Request sent.
|
---|
15 | jrpc: Status line received: Code 200 (OK)
|
---|
16 | jrpc: Content-Length: 216
|
---|
17 | jrpc: Content-Type: application/json
|
---|
18 | jrpc: Date: Fri, 12 Oct 2018 05:44:02 GMT
|
---|
19 | jrpc: Server: Jetty(9.4.11.v20180605)
|
---|
20 | jrpc: Connection: close
|
---|
21 | jrpc: 5 headers and 0 bytes of data remaining
|
---|
22 | jrpc; did receive http-status [200] from [https://depot.haiku-os.org/__api/v1/user]
|
---|
23 | jrpc response; {"jsonrpc":"2.0","id":5,"result":{"token":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodW1kaW5nZXJ-redacted-IjoiaGFpa3VpbmMuaGRzIiwiZXhwIjoxNTM5MzIzMzQyLCJpYXQiOjE1MzkzMjMwNDJ9.NI5iaEVwG9gMvbdsDEQHJUGdjTArOjWm1Nc13Ql60bY"}}
|
---|
24 |
|
---|
25 | jrpc; will make request to [https://depot.haiku-os.org/__api/v1/userrating]
|
---|
26 | jrpc request; {"jsonrpc":"2.0","id":6,"method":"getUserRatingByUserAndPkgVersion","params":[{"userNickname":"humdinger","pkgName":"2048","pkgVersionArchitectureCode":"x86_gcc2","repositoryCode":"haikuports","pkgVersionMajor":"1","pkgVersionMinor":"0","pkgVersionMicro":"0","pkgVersionRevision":3}]}
|
---|
27 | jrpc: Resolving https://depot.haiku-os.org/__api/v1/userrating
|
---|
28 | jrpc: Hostname resolved to: 94.130.128.252:443
|
---|
29 | jrpc: Connection to depot.haiku-os.org on port 443.
|
---|
30 | jrpc: Connection opened, sending request.
|
---|
31 | jrpc: Host: depot.haiku-os.org
|
---|
32 | jrpc: Accept: */*
|
---|
33 | jrpc: Accept-Encoding: gzip
|
---|
34 | jrpc: Connection: close
|
---|
35 | jrpc: User-Agent: HaikuDepot/0.0.2
|
---|
36 | jrpc: Content-Length: 284
|
---|
37 | jrpc: Content-Type: application/json
|
---|
38 | jrpc: Request sent.
|
---|
39 | jrpc: Status line received: Code 200 (OK)
|
---|
40 | jrpc: Content-Length: 512
|
---|
41 | jrpc: Content-Type: application/json
|
---|
42 | jrpc: Date: Fri, 12 Oct 2018 05:44:09 GMT
|
---|
43 | jrpc: Server: Jetty(9.4.11.v20180605)
|
---|
44 | jrpc: Connection: close
|
---|
45 | jrpc: 5 headers and 0 bytes of data remaining
|
---|
46 | jrpc; did receive http-status [200] from [https://depot.haiku-os.org/__api/v1/userrating]
|
---|
47 | jrpc response; {"jsonrpc":"2.0","id":6,"result":{"code":"09e88653-cff3-4d8e-aa85-f70d090e065b","naturalLanguageCode":"en","user":{"nickname":"humdinger"},"userRatingStabilityCode":"stable","active":true,"comment":"Nice little game! Gets 5 stars when tile moving animation is added. :)","modifyTimestamp":1539276012774,"createTimestamp":1539195674356,"rating":4,"pkgVersion":{"repositoryCode":"haikuports","architectureCode":"x86_gcc2","major":"1","minor":"0","micro":"0","preRelease":null,"revision":3,"pkg":{"name":"2048"}}}}
|
---|
48 |
|
---|
49 | will update the existing user rating [09e88653-cff3-4d8e-aa85-f70d090e065b]
|
---|
50 | jrpc; will make request to [https://depot.haiku-os.org/__api/v1/userrating]
|
---|
51 | jrpc request; {"jsonrpc":"2.0","id":7,"method":"updateUserRating","params":[{"code":"09e88653-cff3-4d8e-aa85-f70d090e065b","naturalLanguageCode":"en","active":true,"filter":["ACTIVE","NATURALLANGUAGE","USERRATINGSTABILITY","COMMENT","RATING"],"rating":4,"userRatingStabilityCode":"stable","comment":"Nice little game! Gets 5 stars when tile moving animation is added... :)"}]}
|
---|
52 | jrpc: Resolving https://depot.haiku-os.org/__api/v1/userrating
|
---|
53 | jrpc: Hostname resolved to: 94.130.128.252:443
|
---|
54 | jrpc: Connection to depot.haiku-os.org on port 443.
|
---|
55 | jrpc: Connection opened, sending request.
|
---|
56 | jrpc: Host: depot.haiku-os.org
|
---|
57 | jrpc: Accept: */*
|
---|
58 | jrpc: Accept-Encoding: gzip
|
---|
59 | jrpc: Connection: close
|
---|
60 | jrpc: User-Agent: HaikuDepot/0.0.2
|
---|
61 | jrpc: Authorization: Basic aHVtZGluZ2VyOmJfdHJhbnNsYXRlKCJXZWxjaGVzIE9TPyIpO09FMTAx
|
---|
62 | jrpc: Content-Length: 362
|
---|
63 | jrpc: Content-Type: application/json
|
---|
64 | jrpc: Request sent.
|
---|
65 | jrpc: Status line received: Code 200 (OK)
|
---|
66 | jrpc: Content-Length: 37
|
---|
67 | jrpc: Content-Type: application/json
|
---|
68 | jrpc: Date: Fri, 12 Oct 2018 05:44:14 GMT
|
---|
69 | jrpc: Server: Jetty(9.4.11.v20180605)
|
---|
70 | jrpc: Connection: close
|
---|
71 | jrpc: 5 headers and 0 bytes of data remaining
|
---|
72 | jrpc; did receive http-status [200] from [https://depot.haiku-os.org/__api/v1/userrating]
|
---|
73 | jrpc response; {"jsonrpc":"2.0","id":7,"result":{}}
|
---|
74 |
|
---|
75 | pkg [2048] will be updated from the server.
|
---|
76 | jrpc; will make request to [https://depot.haiku-os.org/__api/v1/pkg]
|
---|
77 | jrpc request; {"jsonrpc":"2.0","id":8,"method":"getPkgChangelog","params":[{"pkgName":"2048"}]}
|
---|
78 | jrpc: Resolving https://depot.haiku-os.org/__api/v1/pkg
|
---|
79 | jrpc: Hostname resolved to: 94.130.128.252:443
|
---|
80 | jrpc: Connection to depot.haiku-os.org on port 443.
|
---|
81 | jrpc: Connection opened, sending request.
|
---|
82 | jrpc: Host: depot.haiku-os.org
|
---|
83 | jrpc: Accept: */*
|
---|
84 | jrpc: Accept-Encoding: gzip
|
---|
85 | jrpc: Connection: close
|
---|
86 | jrpc: User-Agent: HaikuDepot/0.0.2
|
---|
87 | jrpc: Content-Length: 81
|
---|
88 | jrpc: Content-Type: application/json
|
---|
89 | jrpc: Request sent.
|
---|
90 | jrpc: Status line received: Code 200 (OK)
|
---|
91 | jrpc: Content-Length: 51
|
---|
92 | jrpc: Content-Type: application/json
|
---|
93 | jrpc: Date: Fri, 12 Oct 2018 05:44:17 GMT
|
---|
94 | jrpc: Server: Jetty(9.4.11.v20180605)
|
---|
95 | jrpc: Connection: close
|
---|
96 | jrpc: 5 headers and 0 bytes of data remaining
|
---|
97 | jrpc; did receive http-status [200] from [https://depot.haiku-os.org/__api/v1/pkg]
|
---|
98 | jrpc response; {"jsonrpc":"2.0","id":8,"result":{"content":null}}
|
---|
99 |
|
---|
100 | no changelog present for [2048]
|
---|
101 | jrpc; will make request to [https://depot.haiku-os.org/__api/v1/userrating]
|
---|
102 | jrpc request; {"jsonrpc":"2.0","id":9,"method":"searchUserRatings","params":[{"pkgName":"2048","pkgVersionArchitectureCode":"x86_gcc2","offset":0,"limit":50}]}
|
---|
103 | jrpc: Resolving https://depot.haiku-os.org/__api/v1/userrating
|
---|
104 | jrpc: Hostname resolved to: 94.130.128.252:443
|
---|
105 | jrpc: Connection to depot.haiku-os.org on port 443.
|
---|
106 | jrpc: Connection opened, sending request.
|
---|
107 | jrpc: Host: depot.haiku-os.org
|
---|
108 | jrpc: Accept: */*
|
---|
109 | jrpc: Accept-Encoding: gzip
|
---|
110 | jrpc: Connection: close
|
---|
111 | jrpc: User-Agent: HaikuDepot/0.0.2
|
---|
112 | jrpc: Content-Length: 145
|
---|
113 | jrpc: Content-Type: application/json
|
---|
114 | jrpc: Request sent.
|
---|
115 | jrpc: Status line received: Code 200 (OK)
|
---|
116 | jrpc: Content-Length: 942
|
---|
117 | jrpc: Content-Type: application/json
|
---|
118 | jrpc: Date: Fri, 12 Oct 2018 05:44:17 GMT
|
---|
119 | jrpc: Server: Jetty(9.4.11.v20180605)
|
---|
120 | jrpc: Connection: close
|
---|
121 | jrpc: 5 headers and 0 bytes of data remaining
|
---|
122 | jrpc; did receive http-status [200] from [https://depot.haiku-os.org/__api/v1/userrating]
|
---|
123 | jrpc response; {"jsonrpc":"2.0","id":9,"result":{"items":[{"code":"09e88653-cff3-4d8e-aa85-f70d090e065b","naturalLanguageCode":"en","user":{"nickname":"humdinger"},"userRatingStabilityCode":"stable","active":true,"comment":"Nice little game! Gets 5 stars when tile moving animation is added... :)","modifyTimestamp":1539323054713,"createTimestamp":1539195674356,"rating":4,"pkgVersion":{"repositoryCode":"haikuports","architectureCode":"x86_gcc2","major":"1","minor":"0","micro":"0","preRelease":null,"revision":3,"pkg":{"name":"2048"}}},{"code":"4b5e8fcf-6011-4575-a739-c4df1dac6a69","naturalLanguageCode":"en","user":{"nickname":"emrys"},"userRatingStabilityCode":"stable","active":true,"comment":null,"modifyTimestamp":1515114934844,"createTimestamp":1515114934844,"rating":4,"pkgVersion":{"repositoryCode":"haikuports","architectureCode":"x86_gcc2","major":"1","minor":"0","micro":"0","preRelease":null,"revision":3,"pkg":{"name":"2048"}}}],"total":2}}
|
---|
124 |
|
---|
125 | rating [09e88653-cff3-4d8e-aa85-f70d090e065b] retrieved from server
|
---|
126 | rating [4b5e8fcf-6011-4575-a739-c4df1dac6a69] retrieved from server
|
---|
127 | did retrieve 2 user ratings for [2048]
|
---|
128 | populating package [2048]
|
---|
129 |
|
---|