Skip to content

Commit

Permalink
Update docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
campb303 committed Jun 21, 2021
1 parent 15a6697 commit 158dabd
Showing 1 changed file with 19 additions and 16 deletions.
35 changes: 19 additions & 16 deletions src/webqueue2api/api/resources/item.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,26 @@ def get(self, queue: str, number: int) -> tuple:
404 (Not Found): When an Item does not exist.
Example:
/api/ce/100 returns:
/api/data/ce/100 returns:
{
"lastUpdated": "07-23-20 10:11 PM",
"headers": [...],
"content": [...],
"isLocked": "ce 100 is locked by knewell using qvi",
"userEmail": "campb303@purdue.edu",
"userName": "Justin Campbell",
"userAlias": "campb303",
"assignedTo": "campb303",
"subject": "Beepboop",
"status": "Dont Delete",
"priority": "",
"deparment": "",
"building": "",
"dateReceived": "Tue, 23 Jun 2020 13:25:51 -0400"
}
"assigned_to": 'bekuma',
"building": '',
"content": [...],
"date_received": '2020-08-20T22: 06: 08+0000',
"departmen"': '',
"headers": [...],
"is_locked"': False,
"last_updated": '2021-06-04T11: 01: 00-0400',
"number": 1,
"path": '/home/pier/e/queue/Mail/ce/1',
"priority": '',
"queue": 'ce',
"status": 'archiving from zsite',
"subject": 'RE: Updating my computer',
"user_alias": 'govind',
"user_email": 'govind@purdue.edu',
"user_name": 'Govindaraju, Rao S'
}
Args:
queue (str): The queue of the item requested.
Expand Down

0 comments on commit 158dabd

Please sign in to comment.