You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api/covidcast.md
+16
Original file line number
Diff line number
Diff line change
@@ -113,6 +113,16 @@ and lists.
113
113
The current set of signals available for each data source is returned by the
114
114
[`covidcast_meta`](covidcast_meta.md) endpoint.
115
115
116
+
#### Alternate Required Parameters
117
+
118
+
The following parameters help specify multiple source-signal, timetype-timevalue or geotype-geovalue pairs. Use them instead of the usual required parameters.
119
+
120
+
| Parameter | Replaces | Format | Description | Example |
cur.execute("INSERT INTO epidata.api_user (api_key, email) VALUES ('quidel_key', 'quidel_email')")
35
+
cur.execute("INSERT INTO epidata.user_role (name) VALUES ('quidel')")
36
+
cur.execute(
37
+
"INSERT INTO epidata.user_role_link (user_id, role_id) SELECT api_user.id, user_role.id FROM epidata.api_user JOIN epidata.user_role WHERE api_key='quidel_key' and user_role.name='quidel'"
38
+
)
39
+
cur.execute("INSERT INTO epidata.api_user (api_key, email) VALUES ('key', 'email')")
cur.execute("INSERT INTO epidata.api_user (api_key, email) VALUES ('quidel_key', 'quidel_email')")
77
+
cur.execute("INSERT INTO epidata.user_role (name) VALUES ('quidel')")
78
+
cur.execute(
79
+
"INSERT INTO epidata.user_role_link (user_id, role_id) SELECT api_user.id, user_role.id FROM epidata.api_user JOIN epidata.user_role WHERE api_key='quidel_key' and user_role.name='quidel'"
80
+
)
81
+
cur.execute("INSERT INTO epidata.api_user (api_key, email) VALUES ('key', 'email')")
0 commit comments