-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathapiary.apib
90 lines (77 loc) · 2.39 KB
/
apiary.apib
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
FORMAT: 1A
HOST: https://metrics.cocoapods.org
# CocoaPods Metrics
Metrics is an API to view metrics for Pods.
## Status [/api/v1/status]
+ Attributes
+ github (Service Status)
+ cocoadocs (Service Status)
### Retrieve the Status [GET]
+ Relation: status
+ Response 200 (application/json)
+ Attributes (Status)
## Metrics [/api/v1/pods/{name}]
+ Parameters
+ name: QueryKit (required) - The name of the Pod
+ Attributes
+ github (GitHub Metrics)
+ cocoadocs (CocoaDoc Metrics)
+ stats (CocoaPods Stats Metrics)
### Retrieve the Metrics for a Pod [GET]
+ Relation: metrics
+ Response 200 (application/json)
+ Attributes (Metrics)
## Data Structures
### Service Status
+ total: 8949 (number, required)
+ complete: 8949 (number)
+ not_found: 988 (number)
### GitHub Metrics
+ subscribers: 29 (number)
+ stargazers: 823 (number)
+ forks: 36 (number)
+ contributors: 5 (number)
+ open_issues: 1 (number)
+ open_pull_requests: 1 (number)
+ created_at: `2014-06-20 06:27:17 UTC`
+ updated_at: `2015-03-28 04:03:03 UTC`
+ language: `Objective-C`
+ closed_issues: 12 (number)
+ closed_pull_requests: 11 (number)
### CocoaDoc Metrics
+ install_size: 123 (number)
+ total_files: 130 (number)
+ total_comments: 10_297 (number)
+ total_lines_of_code: 27_637 (number)
+ doc_percent: 71 (number)
+ readme_complexity: 74 (number)
+ initial_commit_date: `2015-01-29 17:09:31 UTC`
+ rendered_readme_url: `http://cocoadocs.org/docsets/QueryKit/0.9.1/README.html`
+ created_at: `2015-01-13 09:20:05 UTC`
+ updated_at: `2015-03-21 01:55:01 UTC`
+ license_short_name: BSD
+ license_canonical_url: `https://en.wikipedia.org/wiki/BSD_licenses`
+ total_test_expectations: 105 (number)
+ dominant_language: "Objective C"
+ quality_estimate: 81
+ builds_independently: true
+ is_vendored_framework: nil
+ rendered_changelog_url: "http://cocoadocs.org/docsets/Expecta/1.0.2/CHANGELOG.html",
+ rendered_summary: a string
### CocoaPods Stats Metrics
+ download_total: 17827 (number)
+ download_week: 5186 (number)
+ download_month: 17616 (number)
+ app_total: 28 (number)
+ app_week: 3 (number)
+ tests_total: 721 (number)
+ tests_week: 384 (number)
+ created_at: `2015-05-25 09:07:22 UTC`
+ updated_at: z2015-08-17 09:46:37 UTC`
+ extension_week: 0 (number)
+ extension_total: 0 (number)
+ watch_week: 0 (number)
+ watch_total: 0 (number)
+ pod_try_week: 0 (number)
+ pod_try_total: 0 (number)
+ is_active: true (bool)