GET api/databasemgt/getlist?pageSize={pageSize}&pageIndex={pageIndex}&key={key}&sort={sort}
数据库列表
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
pageSize | integer |
Default value is 10 |
|
pageIndex | integer |
Default value is 1 |
|
key | string |
Default value is |
|
sort | boolean |
Default value is True |
Body Parameters
None.
Response Information
Resource Description
数据库列表
JsonRtnDtoOfPageResultOfBackUpRestoreName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | PageResultOfBackUpRestore |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": { "Value": [ { "Id": "f923bf87-23de-47c3-8a62-8f64db44dd8e", "CreatedTime": "2024-09-25T00:06:25.4377015+08:00", "LastUpdatedTime": "2024-09-25T00:06:25.4377015+08:00", "FileName": "sample string 4", "FileSize": 5 }, { "Id": "f923bf87-23de-47c3-8a62-8f64db44dd8e", "CreatedTime": "2024-09-25T00:06:25.4377015+08:00", "LastUpdatedTime": "2024-09-25T00:06:25.4377015+08:00", "FileName": "sample string 4", "FileSize": 5 } ], "PageIndex": 1, "PageSize": 2, "total": 3, "TotalPages": 4, "HasPreviousPage": false, "HasNextPage": true } }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":{"Value":[{"Id":"f923bf87-23de-47c3-8a62-8f64db44dd8e","CreatedTime":"2024-09-25T00:06:25.4377015+08:00","LastUpdatedTime":"2024-09-25T00:06:25.4377015+08:00","FileName":"sample string 4","FileSize":5},{"Id":"f923bf87-23de-47c3-8a62-8f64db44dd8e","CreatedTime":"2024-09-25T00:06:25.4377015+08:00","LastUpdatedTime":"2024-09-25T00:06:25.4377015+08:00","FileName":"sample string 4","FileSize":5}],"PageIndex":1,"PageSize":2,"total":3,"TotalPages":4,"HasPreviousPage":false,"HasNextPage":true}}
application/xml, text/xml
Sample:
<JsonRtnDtoOfPageResultOfBackUpRestoreIdQVI9HhS_STz13wm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/BJ.Infrastructure"> <d2p1:PageIndex>1</d2p1:PageIndex> <d2p1:PageSize>2</d2p1:PageSize> <d2p1:TotalPages>4</d2p1:TotalPages> <d2p1:total>3</d2p1:total> <d2p1:Value xmlns:d3p1="http://schemas.datacontract.org/2004/07/SqliteDB"> <d3p1:BackUpRestore> <d3p1:CreatedTime>2024-09-25T00:06:25.4377015+08:00</d3p1:CreatedTime> <d3p1:FileName>sample string 4</d3p1:FileName> <d3p1:FileSize>5</d3p1:FileSize> <d3p1:Id>f923bf87-23de-47c3-8a62-8f64db44dd8e</d3p1:Id> <d3p1:LastUpdatedTime>2024-09-25T00:06:25.4377015+08:00</d3p1:LastUpdatedTime> </d3p1:BackUpRestore> <d3p1:BackUpRestore> <d3p1:CreatedTime>2024-09-25T00:06:25.4377015+08:00</d3p1:CreatedTime> <d3p1:FileName>sample string 4</d3p1:FileName> <d3p1:FileSize>5</d3p1:FileSize> <d3p1:Id>f923bf87-23de-47c3-8a62-8f64db44dd8e</d3p1:Id> <d3p1:LastUpdatedTime>2024-09-25T00:06:25.4377015+08:00</d3p1:LastUpdatedTime> </d3p1:BackUpRestore> </d2p1:Value> </Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfPageResultOfBackUpRestoreIdQVI9HhS_STz13wm>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"Value":[{"Id":"f923bf87-23de-47c3-8a62-8f64db44dd8e","CreatedTime":"2024-09-25T00:06:25.4377015+08:00","LastUpdatedTime":"2024-09-25T00:06:25.4377015+08:00","FileName":"sample string 4","FileSize":5},{"Id":"f923bf87-23de-47c3-8a62-8f64db44dd8e","CreatedTime":"2024-09-25T00:06:25.4377015+08:00","LastUpdatedTime":"2024-09-25T00:06:25.4377015+08:00","FileName":"sample string 4","FileSize":5}],"PageIndex":1,"PageSize":2,"total":3,"TotalPages":4,"HasPreviousPage":false,"HasNextPage":true}});