Pobierz dziennik zmian zdjęć
POST
/api/auditlog
const url = 'https://twoja-instancja-image-gallery-api.enterprise.sellrocket.pl/api/auditlog';const form = new FormData();form.append('Username', 'example');form.append('EntityName', 'example');form.append('EntityId', 'example');form.append('Action', 'example');form.append('Slot', '1');form.append('Skip', '1');form.append('Limit', '1');
const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
options.body = form;
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://twoja-instancja-image-gallery-api.enterprise.sellrocket.pl/api/auditlog \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form Username=example \ --form EntityName=example \ --form EntityId=example \ --form Action=example \ --form Slot=1 \ --form Skip=1 \ --form Limit=1Zwraca historię zmian w zdjęciach.
Autoryzacja
Dział zatytułowany „Autoryzacja”Treść żądania
Dział zatytułowany „Treść żądania”Typ treścimultipart/form-data
object
Username
string
EntityName
string
EntityId
string
Action
string
Slot
integer format: int32
Skip
integer format: int32
Limit
integer format: int32
Odpowiedzi
Dział zatytułowany „Odpowiedzi”Success
Array<object>
object
id
integer format: int64
createdAt
string format: date-time
userName
string
entityName
string
entityId
string
slot
integer format: int32
action
string
Array<object>
object
id
integer format: int64
createdAt
string format: date-time
userName
string
entityName
string
entityId
string
slot
integer format: int32
action
string
Examplegenerated
[ { "id": 1, "createdAt": "2026-04-15T12:00:00Z", "userName": "example", "entityName": "example", "entityId": "example", "slot": 1, "action": "example" }]Array<object>
object
id
integer format: int64
createdAt
string format: date-time
userName
string
entityName
string
entityId
string
slot
integer format: int32
action
string
Examplegenerated
[ { "id": 1, "createdAt": "2026-04-15T12:00:00Z", "userName": "example", "entityName": "example", "entityId": "example", "slot": 1, "action": "example" }]Bad Request
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Client Error
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Server Error

