File tree Expand file tree Collapse file tree 1 file changed +0
-24
lines changed
Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Original file line number Diff line number Diff line change 6565
6666Example usage: ` requests.post("https://metadata-portal.allenneuraldynamics-test.org/validate/subject", json=subject_data) `
6767
68- ### Gather endpoint
69-
70- Get fresh metadata from the metadata service:
71-
72- ``` python
73- import requests
74-
75- response = requests.get(
76- " https://metadata-portal.allenneuraldynamics-test.org/gather" ,
77- params = {
78- " subject_id" : " 804670" ,
79- " project_name" : " Learning mFISH-V1omFISH" ,
80- " modalities" : " ecephys" , # comma-separated abbreviations
81- " acquisition_start_time" : " 2025-09-17T10:26:00Z"
82- }
83- )
84-
85- if response.status_code == 200 :
86- metadata = response.json()
87- print (f " ✅ Retrieved { list (metadata.keys())} " )
88- else :
89- print (f " ❌ Failed: { response.json()} " )
90- ```
91-
9268## Usage
9369
9470Clone the repository and ` cd ` into the folder
You can’t perform that action at this time.
0 commit comments