devices

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteDevices

func DeleteDevices(ctx *gin.Context)

DeleteDevices godoc @Summary Delete devices @Description Delete devices @Tags user @Accept json @Produce json @Param devices body []uint true "Devices to be deleted" @Success 200 {string} JSON "{"message": "Devices deleted successfully", "deleted": [1, 2, 3]}" @Security AccessToken @Router /user/devices [delete]

func GetDevices

func GetDevices(ctx *gin.Context)

GetDevices godoc @Summary Get devices @Description Get devices @Tags user @Accept json @Produce json @Success 200 {object} models.DeviceListResponse @Security AccessToken @Router /user/devices [get]

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL