7DaysToDie-ServerKit
  1. Prefab
7DaysToDie-ServerKit
  • Admins
    • Add admins
      POST
    • Get admins
      GET
    • Remove admins
      DELETE
  • AppSettings
    • AppSettings_Get
      GET
    • AppSettings_Put
      PUT
  • Blacklist
    • Add blacklist
      POST
    • Get blacklist
      GET
    • Remove blacklist
      DELETE
  • ChatRecord
    • 分页获取记录
      GET
    • 批量删除记录
      DELETE
    • 通过Id删除记录
      DELETE
  • CityLocation
    • 通过Id获取记录
      GET
    • 通过Id更新记录
      PUT
    • 通过Id删除记录
      DELETE
    • 获取所有记录
      GET
    • 新增记录
      POST
    • 批量删除记录
      DELETE
  • Goods
    • 通过Id获取记录
      GET
    • 通过Id更新记录
      PUT
    • 通过Id删除记录
      DELETE
    • 获取所有记录
      GET
    • 新增记录
      POST
    • 批量删除记录
      DELETE
    • 获取商品关联的物品清单
      GET
    • 修改商品关联的物品
      PUT
    • 获取商品关联的命令Id
      GET
    • 修改商品关联的命令
      PUT
  • HomeLocation
    • 通过Id获取记录
    • 通过Id更新记录
    • 通过Id删除记录
    • 分页获取记录
    • 新增记录
    • 批量删除记录
  • Inventories
    • 获取指定玩家的背包
    • 批量删除指定玩家背包中的物品
    • 获取指定玩家的背包
    • 删除指定玩家背包中的物品
  • ItemBlocks
    • Get item and blocks.
  • ItemIcons
    • 获取 ItemIcon
  • LandClaims
    • 获取指定玩家的领地石
    • 获取所有玩家的领地石
  • Localization
    • 获取本地化字典
    • 获取指定项目的本地化字符串
    • 获取已知的语言
  • Locations
    • 获取位置
    • 获取位置
  • Map
    • 获取地图信息
    • 获取切片
    • 渲染整个地图
    • 渲染已探索区域
  • Permissions
    • Add permissions
    • Get permissions
    • Remove permissions
  • Players
    • 获取所有在线玩家
    • 获取指定在线玩家
    • 获取指定在线玩家
    • 分页获取历史玩家
    • 获取指定历史玩家
  • PointsInfo
    • 通过Id获取记录
    • 通过Id更新记录
    • 通过Id删除记录
    • 分页获取记录
    • 新增记录
    • 批量删除记录
  • Server
    • Execute console command.
    • Get allowed commands.
    • Get allowed commands.
    • Get stats.
    • 系统信息
    • Get game infomation.
    • Get game infomation.
    • Send global message.
    • Send private message.
    • Restart server.
    • Shutdown server.
    • Reset Player.
    • Get server settings.
    • Put server settings.
  • TeleRecord
    • 分页获取记录
    • 批量删除记录
    • 通过Id删除记录
  • Whitelist
    • Add whitelist
    • Get whitelist
    • Remove whitelist
  • Settings
    • 获取配置
    • 更新配置
    • 重置配置
    • 获取配置
    • 更新配置
    • 重置配置
    • 获取配置
    • 更新配置
    • 重置配置
    • 获取配置
    • 更新配置
    • 重置配置
    • 获取配置
    • 更新配置
    • 重置配置
    • 获取配置
    • 更新配置
    • 重置配置
    • 获取配置
    • 更新配置
    • 重置配置
    • 获取配置
    • 更新配置
    • 重置配置
    • 获取配置
    • 更新配置
    • 重置配置
    • 获取配置
    • 更新配置
    • 重置配置
  • AutoBackup
    • 获取备份文件列表
    • 删除备份文件
    • 手动备份
  • CommandList
    • 通过Id获取记录
    • 通过Id更新记录
    • 通过Id删除记录
    • 分页获取记录
    • 新增记录
    • 批量删除记录
  • ItemList
    • 通过Id获取记录
    • 通过Id更新记录
    • 通过Id删除记录
    • 分页获取记录
    • 新增记录
    • 批量删除记录
  • VipGift
    • 通过Id获取记录
    • 通过Id更新记录
    • 通过Id删除记录
    • 获取所有记录
    • 新增记录
    • 批量删除记录
    • 获取礼品关联的物品清单
    • 修改礼品关联的物品
    • 获取礼品关联的命令Id
    • 修改礼品关联的命令
  • PlayerSkills
    • Gets player progression
  • UiIcons
    • Get ui icon
  • Auth
    • OAuth_Token
  • ColoredChat
    • 通过Id获取记录
    • 通过Id更新记录
    • 通过Id删除记录
    • 获取所有记录
    • 新增记录
    • 批量删除记录
  • Prefab
    • Get all available prefabs.
      GET
    • Place prefab.
      POST
    • Get undo history.
      GET
    • Undo prefab.
      PUT
  1. Prefab

Get undo history.

GET
/api/Prefab/UndoHistory
Prefab

请求参数

Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token
示例:
Authorization: Bearer ********************

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://7dtdserver.local:8888/api/Prefab/UndoHistory'

返回响应

🟢200成功
application/json
Body
array of:
id
integer <int32>
可选
Gets or sets the ID of the undo history.
prefabName
string 
可选
Gets or sets the name of the prefab associated with the undo history.
position
可选
Gets or sets the position of the undo history.
One of
Position
x
integer <int32>
X
可选
y
integer <int32>
Y
可选
z
integer <int32>
Z
可选
createdAt
string <date-time>
可选
Gets or sets the creation date and time of the undo history.
示例
[
    {
        "id": 0,
        "prefabName": "string",
        "position": {
            "x": 0,
            "y": 0,
            "z": 0
        },
        "createdAt": "2019-08-24T14:15:22Z"
    }
]
修改于 2024-12-09 01:52:42
上一页
Place prefab.
下一页
Undo prefab.
Built with