krapio
Library referenceTypes

Mod

type Mod = {
  created_at: string;
  creator_name: string;
  description: string;
  featured: boolean;
  mod_id: number;
  name: string;
  updated_at: string;
  version: number;
  votes: number;
};

GET /api/mods/:name

Properties

PropertyTypeDescription
created_atstring"YYYY-MM-DD HH:MM:SS", not rfc3339 like the docs say
creator_namestringUsername of the mod creator
descriptionstringMod description
featuredbooleanWhether the mod is featured
mod_idnumberUnique mod identifier
namestringMod name
updated_atstringWhen the mod was last updated (same format)
versionnumberMod version number
votesnumberNumber of upvotes

On this page