Closed blackandred closed 2 years ago
curl -s -X GET -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE5NjEyNjMzOTUsImxvZ2luIjoiYWRtaW4iLCJvcmlnX2lhdCI6MTY0NTkwMzM5NX0.kV0baqRJ5DI-0ZSmES2zQTlIlNsd9RZz9DZvQYD7jDc' 'http://localhost:8080/api/stable/repository/collection/iwa-ait/version'
{
"data": {
"versions": [
{
"id": "62dde044-6bdc-48af-b291-1191d8d691cd",
"collectionId": "iwa-ait",
"versionNumber": 32,
"filename": "iwa-ait-32.tar.gz",
"filesize": 1019254,
"uploadedBySessionId": "4e1a57bebab9a87faa413934015d9e2ae83cff39cce3b55b02a55e68392964b3",
"user": "admin",
"CreatedAt": "2022-02-26T20:29:05.23785+01:00",
"UpdatedAt": "2022-02-26T20:29:05.23785+01:00",
"DeletedAt": null
},
{
"id": "13d0c9c9-1889-4258-9dde-b267f3f25d7d",
"collectionId": "iwa-ait",
"versionNumber": 33,
"filename": "iwa-ait-33.tar.gz",
"filesize": 1019254,
"uploadedBySessionId": "4e1a57bebab9a87faa413934015d9e2ae83cff39cce3b55b02a55e68392964b3",
"user": "admin",
"CreatedAt": "2022-02-26T20:29:19.417054+01:00",
"UpdatedAt": "2022-02-26T20:29:19.417054+01:00",
"DeletedAt": null
},
{
"id": "10d8c253-13d2-4299-9e16-0c4d64c2406e",
"collectionId": "iwa-ait",
"versionNumber": 34,
"filename": "iwa-ait-34.tar.gz",
"filesize": 1019254,
"uploadedBySessionId": "4e1a57bebab9a87faa413934015d9e2ae83cff39cce3b55b02a55e68392964b3",
"user": "admin",
"CreatedAt": "2022-02-26T21:14:54.886987+01:00",
"UpdatedAt": "2022-02-26T21:14:54.886987+01:00",
"DeletedAt": null
},
{
"id": "8aa5db43-fb7e-4272-bea5-0851f6cff219",
"collectionId": "iwa-ait",
"versionNumber": 35,
"filename": "iwa-ait-35.tar.gz",
"filesize": 1019254,
"uploadedBySessionId": "4e1a57bebab9a87faa413934015d9e2ae83cff39cce3b55b02a55e68392964b3",
"user": "admin",
"CreatedAt": "2022-02-27T00:04:49.735482+01:00",
"UpdatedAt": "2022-02-27T00:04:49.735482+01:00",
"DeletedAt": null
},
{
"id": "a00a1d53-7693-4e30-a7b5-6e6eef3ca649",
"collectionId": "iwa-ait",
"versionNumber": 36,
"filename": "iwa-ait-36.tar.gz",
"filesize": 1019254,
"uploadedBySessionId": "4e1a57bebab9a87faa413934015d9e2ae83cff39cce3b55b02a55e68392964b3",
"user": "admin",
"CreatedAt": "2022-02-27T00:05:07.553551+01:00",
"UpdatedAt": "2022-02-27T00:05:07.553551+01:00",
"DeletedAt": null
}
]
},
"status": true
}
Implemented.
Endpoint should list all already submitted versions