-
-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(docs): Updated documentation related to webhooks v2
Fixes: #4752
- Loading branch information
1 parent
f2c464f
commit 7139689
Showing
17 changed files
with
228 additions
and
12 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
98 changes: 98 additions & 0 deletions
98
cl/users/templates/includes/search_alert_webhook_dummy_curl_v2.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
curl --request POST \ | ||
--url '{{ endpoint_url }}' \ | ||
--header 'Content-Type: application/json' \ | ||
--header 'Idempotency-Key: 59f1be59-e428-427a-a346-9cacded5c1d4' \ | ||
--data '{ | ||
"payload":{ | ||
"results":[ | ||
{ | ||
"meta":{ | ||
"timestamp":"2024-11-15T00:22:15.765337Z", | ||
"date_created":"2024-11-15T00:22:15.765337Z" | ||
}, | ||
"court":"Supreme Court of the United States", | ||
"judge":"", | ||
"source":"C", | ||
"status":"Published", | ||
"posture":"", | ||
"scdb_id":"", | ||
"attorney":"", | ||
"caseName":"Obergefell v. Hodges", | ||
"citation":[ | ||
"192 L. Ed. 2d 609", | ||
"135 S. Ct. 2584", | ||
"2015 U.S. LEXIS 4250", | ||
"576 U.S. 644" | ||
], | ||
"court_id":"scotus", | ||
"opinions":[ | ||
{ | ||
"id":2812209, | ||
"meta":{ | ||
"timestamp":"2024-11-15T00:22:15.765337Z", | ||
"date_created":"2024-11-15T00:22:15.765337Z" | ||
}, | ||
"sha1":"d7bcc865b883abd70d74d9af7578d256ae62a973", | ||
"type":"combined-opinion", | ||
"cites":[ | ||
13 | ||
], | ||
"snippet":"Lorem dolor <strong>Obergefell</strong> sit amet, consectetur adipiscing elit.", | ||
"author_id":17, | ||
"local_path":"test/search/opinion_html.html", | ||
"per_curiam":false, | ||
"download_url":"http://www.supremecourt.gov/opinions/14pdf/14-556_3204.pdf", | ||
"joined_by_ids":[ | ||
|
||
] | ||
} | ||
], | ||
"syllabus":"", | ||
"citeCount":432, | ||
"dateFiled":"2015-06-26", | ||
"docket_id":2668808, | ||
"lexisCite":"2015 U.S. LEXIS 4250", | ||
"panel_ids":[ | ||
|
||
], | ||
"cluster_id":2812209, | ||
"dateArgued":null, | ||
"suitNature":"", | ||
"neutralCite":"10 Neutral 4", | ||
"panel_names":[ | ||
"Kristine Pena Mendez Jr." | ||
], | ||
"sibling_ids":[ | ||
2812209 | ||
], | ||
"absolute_url":"/opinion/2812209/obergefell-v-hodges/", | ||
"caseNameFull":"Todd Ballard, Julie Smith, Jeanne Peters, Ashley Jordan, and Andrew Thompson v. Johnson LLC, Walker-Bernard, Jones PLC, Bailey Group, and Lopez-Gonzales", | ||
"dateReargued":null, | ||
"docketNumber":"14-556", | ||
"procedural_history":"", | ||
"dateReargumentDenied":null, | ||
"court_citation_string":"SCOTUS", | ||
"non_participating_judge_ids":[ | ||
|
||
] | ||
} | ||
], | ||
"alert":{ | ||
"id":1, | ||
"name":"Obergefell v. Hodges", | ||
"rate":"dly", | ||
"user":1, | ||
"query":"?q=Obergefell+v.+Hodges&type=o&order_by=score+desc&stat_Precedential=on&filed_after=06%2F01%2F2015&docket_number=14-556&", | ||
"secret_key":"MV8yfOSXQvDQauQOCEg0orkgi4hBC4r9yg5Wk3ue", | ||
"date_created":"2022-12-02T15:42:34.921805-08:00", | ||
"date_last_hit":"2022-12-02T15:42:35.915737-08:00", | ||
"date_modified":"2022-12-02T15:42:35.915880-08:00" | ||
} | ||
}, | ||
"webhook":{ | ||
"version":{{ webhook_version }}, | ||
"event_type":2, | ||
"date_created":"2022-12-02T23:42:34.894411+00:00", | ||
"deprecation_date":"None" | ||
} | ||
}' |
94 changes: 94 additions & 0 deletions
94
cl/users/templates/includes/search_alert_webhook_dummy_v2.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
{ | ||
"payload":{ | ||
"results":[ | ||
{ | ||
"meta":{ | ||
"timestamp":"2024-11-15T00:22:15.765337Z", | ||
"date_created":"2024-11-15T00:22:15.765337Z" | ||
}, | ||
"court":"Supreme Court of the United States", | ||
"judge":"", | ||
"source":"C", | ||
"status":"Published", | ||
"posture":"", | ||
"scdb_id":"", | ||
"attorney":"", | ||
"caseName":"Obergefell v. Hodges", | ||
"citation":[ | ||
"192 L. Ed. 2d 609", | ||
"135 S. Ct. 2584", | ||
"2015 U.S. LEXIS 4250", | ||
"576 U.S. 644" | ||
], | ||
"court_id":"scotus", | ||
"opinions":[ | ||
{ | ||
"id":2812209, | ||
"meta":{ | ||
"timestamp":"2024-11-15T00:22:15.765337Z", | ||
"date_created":"2024-11-15T00:22:15.765337Z" | ||
}, | ||
"sha1":"d7bcc865b883abd70d74d9af7578d256ae62a973", | ||
"type":"combined-opinion", | ||
"cites":[ | ||
13 | ||
], | ||
"snippet":"Lorem dolor <strong>Obergefell</strong> sit amet, consectetur adipiscing elit.", | ||
"author_id":17, | ||
"local_path":"test/search/opinion_html.html", | ||
"per_curiam":false, | ||
"download_url":"http://www.supremecourt.gov/opinions/14pdf/14-556_3204.pdf", | ||
"joined_by_ids":[ | ||
|
||
] | ||
} | ||
], | ||
"syllabus":"", | ||
"citeCount":432, | ||
"dateFiled":"2015-06-26", | ||
"docket_id":2668808, | ||
"lexisCite":"2015 U.S. LEXIS 4250", | ||
"panel_ids":[ | ||
|
||
], | ||
"cluster_id":2812209, | ||
"dateArgued":null, | ||
"suitNature":"", | ||
"neutralCite":"10 Neutral 4", | ||
"panel_names":[ | ||
"Kristine Pena Mendez Jr." | ||
], | ||
"sibling_ids":[ | ||
2812209 | ||
], | ||
"absolute_url":"/opinion/2812209/obergefell-v-hodges/", | ||
"caseNameFull":"Todd Ballard, Julie Smith, Jeanne Peters, Ashley Jordan, and Andrew Thompson v. Johnson LLC, Walker-Bernard, Jones PLC, Bailey Group, and Lopez-Gonzales", | ||
"dateReargued":null, | ||
"docketNumber":"14-556", | ||
"procedural_history":"", | ||
"dateReargumentDenied":null, | ||
"court_citation_string":"SCOTUS", | ||
"non_participating_judge_ids":[ | ||
|
||
] | ||
} | ||
], | ||
"alert":{ | ||
"id":1, | ||
"name":"Obergefell v. Hodges", | ||
"rate":"dly", | ||
"user":1, | ||
"query":"?q=Obergefell+v.+Hodges&type=o&order_by=score+desc&stat_Precedential=on&filed_after=06%2F01%2F2015&docket_number=14-556&", | ||
"secret_key":"MV8yfOSXQvDQauQOCEg0orkgi4hBC4r9yg5Wk3ue", | ||
"date_created":"2022-12-02T15:42:34.921805-08:00", | ||
"date_last_hit":"2022-12-02T15:42:35.915737-08:00", | ||
"date_modified":"2022-12-02T15:42:35.915880-08:00" | ||
} | ||
}, | ||
"webhook":{ | ||
"version":{{"webhook_version"}}, | ||
"event_type":2, | ||
"date_created":"2022-12-02T23:42:34.894411+00:00", | ||
"deprecation_date":"None" | ||
} | ||
} |