-
Notifications
You must be signed in to change notification settings - Fork 2
/
catalog-info.yaml
77 lines (75 loc) · 2.73 KB
/
catalog-info.yaml
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
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: firefox-android-home-recommendations
description: Provides recommendations to be consumed by Firefox for Android.
annotations:
github.com/project-slug: pocket/firefox-android-home-recommendations
github.com/team-slug: Pocket/backend
circleci.com/project-slug: github/pocket/firefox-android-home-recommendations
sentry.io/project-slug: firefox-android-home-recommendations
links:
- url: https://firefox-android-home-recommendations.getpocket.com/
title: Firefox Android Home Recommendations (Production)
icon: collections
- url: https://firefox-android-home-recommendations.getpocket.dev/
title: Firefox Android Home Recommendations (Dev)
icon: collections
spec:
type: service
owner: backend
lifecycle: production
consumesApis:
- client-api
providesApis:
- firefox-android-home-recommendations
---
apiVersion: backstage.io/v1alpha1
kind: API
metadata:
name: firefox-android-home-recommendations
description: API of recommendations to be consumed by Firefox for Android.
spec:
type: rest
owner: backend
definition: |
openapi: 3.0.1
info:
title: Firefox Android Home Recomendations API
description: Provides recomendations for Firefox Android Home
version: '0.1'
servers:
- url: https://firefox-android-home-recommendations.getpocket.com
- url: https://firefox-android-home-recommendations.getpocket.dev
paths:
/:
get:
description: URL to request
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
recomendations:
type: array
items:
type: object
properties:
catgeory:
type: string
enum: [general, must-reads, quick-reads, technology, health, self-improvement, food, science, entertainment, career]
url:
type: string
title:
type: string
imageUrl:
type: string
description: The image cdn url to use. You will need to string replace w & h with your width and height values
publisher:
type: string
timeToRead:
type: integer
lifecycle: production