Fix for api (#1676)
To change the apidoc, you need to: * change one file controllers/api/api.go * then run the command `apidoc -i controllers/api/ -o apidoc/`
Cette révision appartient à :
Parent
353c69cf08
révision
2dc84d03ca
2163
apidoc/api_data.js
2163
apidoc/api_data.js
Fichier diff supprimé car celui-ci est trop grand
Voir la Diff
|
@ -1108,6 +1108,97 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "post",
|
||||
"url": "/user/",
|
||||
"title": "Get a private user profile",
|
||||
"version": "1.1.1",
|
||||
"name": "Private_Profile",
|
||||
"group": "Users",
|
||||
"parameter": {
|
||||
"fields": {
|
||||
"Parameter": [
|
||||
{
|
||||
"group": "Parameter",
|
||||
"type": "String",
|
||||
"optional": false,
|
||||
"field": "access_token",
|
||||
"description": "<p>Token sent by the OAuth API</p>"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"success": {
|
||||
"fields": {
|
||||
"Success 200": [
|
||||
{
|
||||
"group": "Success 200",
|
||||
"type": "Boolean",
|
||||
"optional": false,
|
||||
"field": "ok",
|
||||
"description": "<p>The request is done without failing</p>"
|
||||
},
|
||||
{
|
||||
"group": "Success 200",
|
||||
"type": "String[]",
|
||||
"optional": false,
|
||||
"field": "infos",
|
||||
"description": "<p>Messages information relative to the request</p>"
|
||||
},
|
||||
{
|
||||
"group": "Success 200",
|
||||
"type": "Object",
|
||||
"optional": false,
|
||||
"field": "data",
|
||||
"description": "<p>The connected user object</p>"
|
||||
}
|
||||
]
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"title": "Success-Response:",
|
||||
"content": " HTTP/1.1 200 OK\n\t\t{\n\t\t\tdata:\n \t\t[{\n\t\t\t\t\tuser_id:1,\n\t\t\t\t\tusername:\"username\",\n\t\t\t\t\tstatus:1,\n\t\t\t\t\ttoken:\"token\",\n\t\t\t\t\tmd5:\"\",\n\t\t\t\t\tcreated_at:\"date\",\n\t\t\t\t\tliking_count:0,\n\t\t\t\t\tliked_count:0\n\t\t\t\t}],\n\t\t\tinfos: [\"Logged\", ... ],\n\t\t\tok:true\n\t\t}",
|
||||
"type": "json"
|
||||
}
|
||||
]
|
||||
},
|
||||
"filename": "controllers/api/api.go",
|
||||
"groupTitle": "Users",
|
||||
"error": {
|
||||
"fields": {
|
||||
"Error 4xx": [
|
||||
{
|
||||
"group": "Error 4xx",
|
||||
"type": "Boolean",
|
||||
"optional": false,
|
||||
"field": "ok",
|
||||
"description": "<p>The request couldn't be done due to some errors.</p>"
|
||||
},
|
||||
{
|
||||
"group": "Error 4xx",
|
||||
"type": "String[]",
|
||||
"optional": false,
|
||||
"field": "errors",
|
||||
"description": "<p>List of errors messages.</p>"
|
||||
},
|
||||
{
|
||||
"group": "Error 4xx",
|
||||
"type": "Object[]",
|
||||
"optional": false,
|
||||
"field": "all_errors",
|
||||
"description": "<p>List of errors object messages for each wrong field</p>"
|
||||
}
|
||||
]
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"title": "Error-Response:",
|
||||
"content": " HTTP/1.1 200 OK\n {\n \"ok\": false,\n \"errors\": [ ... ]\n \"all_errors\": {\n\t\t \t\"username\": [ ... ],\n }\n }",
|
||||
"type": "json"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "get",
|
||||
"url": "/profile/",
|
||||
|
|
|
@ -6,7 +6,7 @@ define({
|
|||
"url": "https://nyaa.pantsu.cat/api",
|
||||
"header": {
|
||||
"title": "Information",
|
||||
"content": "<h1>Information</h1>\n<p>You can use this API without being logged or any token API</p>\n<h2>Except for Upload</h2>\n<p>When you upload, you have to provide your username and api token!</p>\n"
|
||||
"content": "<h1>Information</h1>\n<p>You can use this API without being logged or any token API</p>\n<h2>Except for Upload</h2>\n<p>When you upload, you have to provide your username and API token!</p>\n"
|
||||
},
|
||||
"order": [
|
||||
"GetTorrents",
|
||||
|
@ -26,7 +26,7 @@ define({
|
|||
"apidoc": "0.3.0",
|
||||
"generator": {
|
||||
"name": "apidoc",
|
||||
"time": "2017-07-22T15:20:08.679Z",
|
||||
"time": "2017-10-16T09:11:10.675Z",
|
||||
"url": "http://apidocjs.com",
|
||||
"version": "0.17.6"
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"url": "https://nyaa.pantsu.cat/api",
|
||||
"header": {
|
||||
"title": "Information",
|
||||
"content": "<h1>Information</h1>\n<p>You can use this API without being logged or any token API</p>\n<h2>Except for Upload</h2>\n<p>When you upload, you have to provide your username and api token!</p>\n"
|
||||
"content": "<h1>Information</h1>\n<p>You can use this API without being logged or any token API</p>\n<h2>Except for Upload</h2>\n<p>When you upload, you have to provide your username and API token!</p>\n"
|
||||
},
|
||||
"order": [
|
||||
"GetTorrents",
|
||||
|
@ -26,7 +26,7 @@
|
|||
"apidoc": "0.3.0",
|
||||
"generator": {
|
||||
"name": "apidoc",
|
||||
"time": "2017-07-22T15:20:08.679Z",
|
||||
"time": "2017-10-16T09:11:10.675Z",
|
||||
"url": "http://apidocjs.com",
|
||||
"version": "0.17.6"
|
||||
}
|
||||
|
|
Fichier diff supprimé car celui-ci est trop grand
Voir la Diff
|
@ -1,25 +1,25 @@
|
|||
define({
|
||||
ca: {
|
||||
'Allowed values:': 'Valors permesos:',
|
||||
'Compare all with predecessor': 'Comparar tot amb versió anterior',
|
||||
'compare changes to:': 'comparar canvis amb:',
|
||||
'compared to': 'comparat amb',
|
||||
'Default value:': 'Valor per defecte:',
|
||||
'Description': 'Descripció',
|
||||
'Field': 'Camp',
|
||||
'General': 'General',
|
||||
'Generated with': 'Generat amb',
|
||||
'Name': 'Nom',
|
||||
'No response values.': 'Sense valors en la resposta.',
|
||||
'optional': 'opcional',
|
||||
'Parameter': 'Paràmetre',
|
||||
'Permission:': 'Permisos:',
|
||||
'Response': 'Resposta',
|
||||
'Send': 'Enviar',
|
||||
'Send a Sample Request': 'Enviar una petició d\'exemple',
|
||||
'show up to version:': 'mostrar versió:',
|
||||
'Size range:': 'Tamany de rang:',
|
||||
'Type': 'Tipus',
|
||||
'url': 'url'
|
||||
}
|
||||
ca: {
|
||||
'Allowed values:' : 'Valors permesos:',
|
||||
'Compare all with predecessor': 'Comparar tot amb versió anterior',
|
||||
'compare changes to:' : 'comparar canvis amb:',
|
||||
'compared to' : 'comparat amb',
|
||||
'Default value:' : 'Valor per defecte:',
|
||||
'Description' : 'Descripció',
|
||||
'Field' : 'Camp',
|
||||
'General' : 'General',
|
||||
'Generated with' : 'Generat amb',
|
||||
'Name' : 'Nom',
|
||||
'No response values.' : 'Sense valors en la resposta.',
|
||||
'optional' : 'opcional',
|
||||
'Parameter' : 'Paràmetre',
|
||||
'Permission:' : 'Permisos:',
|
||||
'Response' : 'Resposta',
|
||||
'Send' : 'Enviar',
|
||||
'Send a Sample Request' : 'Enviar una petició d\'exemple',
|
||||
'show up to version:' : 'mostrar versió:',
|
||||
'Size range:' : 'Tamany de rang:',
|
||||
'Type' : 'Tipus',
|
||||
'url' : 'url'
|
||||
}
|
||||
});
|
||||
|
|
|
@ -1,25 +1,25 @@
|
|||
define({
|
||||
de: {
|
||||
'Allowed values:': 'Erlaubte Werte:',
|
||||
'Compare all with predecessor': 'Vergleiche alle mit ihren Vorgängern',
|
||||
'compare changes to:': 'vergleiche Änderungen mit:',
|
||||
'compared to': 'verglichen mit',
|
||||
'Default value:': 'Standardwert:',
|
||||
'Description': 'Beschreibung',
|
||||
'Field': 'Feld',
|
||||
'General': 'Allgemein',
|
||||
'Generated with': 'Erstellt mit',
|
||||
'Name': 'Name',
|
||||
'No response values.': 'Keine Rückgabewerte.',
|
||||
'optional': 'optional',
|
||||
'Parameter': 'Parameter',
|
||||
'Permission:': 'Berechtigung:',
|
||||
'Response': 'Antwort',
|
||||
'Send': 'Senden',
|
||||
'Send a Sample Request': 'Eine Beispielanfrage senden',
|
||||
'show up to version:': 'zeige bis zur Version:',
|
||||
'Size range:': 'Größenbereich:',
|
||||
'Type': 'Typ',
|
||||
'url': 'url'
|
||||
}
|
||||
de: {
|
||||
'Allowed values:' : 'Erlaubte Werte:',
|
||||
'Compare all with predecessor': 'Vergleiche alle mit ihren Vorgängern',
|
||||
'compare changes to:' : 'vergleiche Änderungen mit:',
|
||||
'compared to' : 'verglichen mit',
|
||||
'Default value:' : 'Standardwert:',
|
||||
'Description' : 'Beschreibung',
|
||||
'Field' : 'Feld',
|
||||
'General' : 'Allgemein',
|
||||
'Generated with' : 'Erstellt mit',
|
||||
'Name' : 'Name',
|
||||
'No response values.' : 'Keine Rückgabewerte.',
|
||||
'optional' : 'optional',
|
||||
'Parameter' : 'Parameter',
|
||||
'Permission:' : 'Berechtigung:',
|
||||
'Response' : 'Antwort',
|
||||
'Send' : 'Senden',
|
||||
'Send a Sample Request' : 'Eine Beispielanfrage senden',
|
||||
'show up to version:' : 'zeige bis zur Version:',
|
||||
'Size range:' : 'Größenbereich:',
|
||||
'Type' : 'Typ',
|
||||
'url' : 'url'
|
||||
}
|
||||
});
|
||||
|
|
|
@ -1,25 +1,25 @@
|
|||
define({
|
||||
es: {
|
||||
'Allowed values:': 'Valores permitidos:',
|
||||
'Compare all with predecessor': 'Comparar todo con versión anterior',
|
||||
'compare changes to:': 'comparar cambios con:',
|
||||
'compared to': 'comparado con',
|
||||
'Default value:': 'Valor por defecto:',
|
||||
'Description': 'Descripción',
|
||||
'Field': 'Campo',
|
||||
'General': 'General',
|
||||
'Generated with': 'Generado con',
|
||||
'Name': 'Nombre',
|
||||
'No response values.': 'Sin valores en la respuesta.',
|
||||
'optional': 'opcional',
|
||||
'Parameter': 'Parámetro',
|
||||
'Permission:': 'Permisos:',
|
||||
'Response': 'Respuesta',
|
||||
'Send': 'Enviar',
|
||||
'Send a Sample Request': 'Enviar una petición de ejemplo',
|
||||
'show up to version:': 'mostrar a versión:',
|
||||
'Size range:': 'Tamaño de rango:',
|
||||
'Type': 'Tipo',
|
||||
'url': 'url'
|
||||
}
|
||||
es: {
|
||||
'Allowed values:' : 'Valores permitidos:',
|
||||
'Compare all with predecessor': 'Comparar todo con versión anterior',
|
||||
'compare changes to:' : 'comparar cambios con:',
|
||||
'compared to' : 'comparado con',
|
||||
'Default value:' : 'Valor por defecto:',
|
||||
'Description' : 'Descripción',
|
||||
'Field' : 'Campo',
|
||||
'General' : 'General',
|
||||
'Generated with' : 'Generado con',
|
||||
'Name' : 'Nombre',
|
||||
'No response values.' : 'Sin valores en la respuesta.',
|
||||
'optional' : 'opcional',
|
||||
'Parameter' : 'Parámetro',
|
||||
'Permission:' : 'Permisos:',
|
||||
'Response' : 'Respuesta',
|
||||
'Send' : 'Enviar',
|
||||
'Send a Sample Request' : 'Enviar una petición de ejemplo',
|
||||
'show up to version:' : 'mostrar a versión:',
|
||||
'Size range:' : 'Tamaño de rango:',
|
||||
'Type' : 'Tipo',
|
||||
'url' : 'url'
|
||||
}
|
||||
});
|
||||
|
|
|
@ -1,25 +1,25 @@
|
|||
define({
|
||||
fr: {
|
||||
'Allowed values:': 'Valeurs autorisées :',
|
||||
'Compare all with predecessor': 'Tout comparer avec ...',
|
||||
'compare changes to:': 'comparer les changements à :',
|
||||
'compared to': 'comparer à',
|
||||
'Default value:': 'Valeur par défaut :',
|
||||
'Description': 'Description',
|
||||
'Field': 'Champ',
|
||||
'General': 'Général',
|
||||
'Generated with': 'Généré avec',
|
||||
'Name': 'Nom',
|
||||
'No response values.': 'Aucune valeur de réponse.',
|
||||
'optional': 'optionnel',
|
||||
'Parameter': 'Paramètre',
|
||||
'Permission:': 'Permission :',
|
||||
'Response': 'Réponse',
|
||||
'Send': 'Envoyer',
|
||||
'Send a Sample Request': 'Envoyer une requête représentative',
|
||||
'show up to version:': 'Montrer à partir de la version :',
|
||||
'Size range:': 'Ordre de grandeur :',
|
||||
'Type': 'Type',
|
||||
'url': 'url'
|
||||
}
|
||||
fr: {
|
||||
'Allowed values:' : 'Valeurs autorisées :',
|
||||
'Compare all with predecessor': 'Tout comparer avec ...',
|
||||
'compare changes to:' : 'comparer les changements à :',
|
||||
'compared to' : 'comparer à',
|
||||
'Default value:' : 'Valeur par défaut :',
|
||||
'Description' : 'Description',
|
||||
'Field' : 'Champ',
|
||||
'General' : 'Général',
|
||||
'Generated with' : 'Généré avec',
|
||||
'Name' : 'Nom',
|
||||
'No response values.' : 'Aucune valeur de réponse.',
|
||||
'optional' : 'optionnel',
|
||||
'Parameter' : 'Paramètre',
|
||||
'Permission:' : 'Permission :',
|
||||
'Response' : 'Réponse',
|
||||
'Send' : 'Envoyer',
|
||||
'Send a Sample Request' : 'Envoyer une requête représentative',
|
||||
'show up to version:' : 'Montrer à partir de la version :',
|
||||
'Size range:' : 'Ordre de grandeur :',
|
||||
'Type' : 'Type',
|
||||
'url' : 'url'
|
||||
}
|
||||
});
|
||||
|
|
|
@ -1,25 +1,25 @@
|
|||
define({
|
||||
it: {
|
||||
'Allowed values:': 'Valori permessi:',
|
||||
'Compare all with predecessor': 'Confronta tutto con versioni precedenti',
|
||||
'compare changes to:': 'confronta modifiche con:',
|
||||
'compared to': 'confrontato con',
|
||||
'Default value:': 'Valore predefinito:',
|
||||
'Description': 'Descrizione',
|
||||
'Field': 'Campo',
|
||||
'General': 'Generale',
|
||||
'Generated with': 'Creato con',
|
||||
'Name': 'Nome',
|
||||
'No response values.': 'Nessun valore di risposta.',
|
||||
'optional': 'opzionale',
|
||||
'Parameter': 'Parametro',
|
||||
'Permission:': 'Permessi:',
|
||||
'Response': 'Risposta',
|
||||
'Send': 'Invia',
|
||||
'Send a Sample Request': 'Invia una richiesta di esempio',
|
||||
'show up to version:': 'mostra alla versione:',
|
||||
'Size range:': 'Intervallo dimensione:',
|
||||
'Type': 'Tipo',
|
||||
'url': 'url'
|
||||
}
|
||||
it: {
|
||||
'Allowed values:' : 'Valori permessi:',
|
||||
'Compare all with predecessor': 'Confronta tutto con versioni precedenti',
|
||||
'compare changes to:' : 'confronta modifiche con:',
|
||||
'compared to' : 'confrontato con',
|
||||
'Default value:' : 'Valore predefinito:',
|
||||
'Description' : 'Descrizione',
|
||||
'Field' : 'Campo',
|
||||
'General' : 'Generale',
|
||||
'Generated with' : 'Creato con',
|
||||
'Name' : 'Nome',
|
||||
'No response values.' : 'Nessun valore di risposta.',
|
||||
'optional' : 'opzionale',
|
||||
'Parameter' : 'Parametro',
|
||||
'Permission:' : 'Permessi:',
|
||||
'Response' : 'Risposta',
|
||||
'Send' : 'Invia',
|
||||
'Send a Sample Request' : 'Invia una richiesta di esempio',
|
||||
'show up to version:' : 'mostra alla versione:',
|
||||
'Size range:' : 'Intervallo dimensione:',
|
||||
'Type' : 'Tipo',
|
||||
'url' : 'url'
|
||||
}
|
||||
});
|
||||
|
|
|
@ -1,50 +1,50 @@
|
|||
define([
|
||||
'./locales/ca.js',
|
||||
'./locales/de.js',
|
||||
'./locales/es.js',
|
||||
'./locales/fr.js',
|
||||
'./locales/it.js',
|
||||
'./locales/nl.js',
|
||||
'./locales/pl.js',
|
||||
'./locales/pt_br.js',
|
||||
'./locales/ro.js',
|
||||
'./locales/ru.js',
|
||||
'./locales/tr.js',
|
||||
'./locales/vi.js',
|
||||
'./locales/zh.js',
|
||||
'./locales/zh_cn.js'
|
||||
], function () {
|
||||
var langId = (navigator.language || navigator.userLanguage).toLowerCase().replace('-', '_');
|
||||
var language = langId.substr(0, 2);
|
||||
var locales = {};
|
||||
'./locales/ca.js',
|
||||
'./locales/de.js',
|
||||
'./locales/es.js',
|
||||
'./locales/fr.js',
|
||||
'./locales/it.js',
|
||||
'./locales/nl.js',
|
||||
'./locales/pl.js',
|
||||
'./locales/pt_br.js',
|
||||
'./locales/ro.js',
|
||||
'./locales/ru.js',
|
||||
'./locales/tr.js',
|
||||
'./locales/vi.js',
|
||||
'./locales/zh.js',
|
||||
'./locales/zh_cn.js'
|
||||
], function() {
|
||||
var langId = (navigator.language || navigator.userLanguage).toLowerCase().replace('-', '_');
|
||||
var language = langId.substr(0, 2);
|
||||
var locales = {};
|
||||
|
||||
for (index in arguments) {
|
||||
for (property in arguments[index])
|
||||
locales[property] = arguments[index][property];
|
||||
}
|
||||
if (!locales['en'])
|
||||
locales['en'] = {};
|
||||
for (index in arguments) {
|
||||
for (property in arguments[index])
|
||||
locales[property] = arguments[index][property];
|
||||
}
|
||||
if ( ! locales['en'])
|
||||
locales['en'] = {};
|
||||
|
||||
if (!locales[langId] && !locales[language])
|
||||
language = 'en';
|
||||
if ( ! locales[langId] && ! locales[language])
|
||||
language = 'en';
|
||||
|
||||
var locale = (locales[langId] ? locales[langId] : locales[language]);
|
||||
var locale = (locales[langId] ? locales[langId] : locales[language]);
|
||||
|
||||
function __(text) {
|
||||
var index = locale[text];
|
||||
if (index === undefined)
|
||||
return text;
|
||||
return index;
|
||||
};
|
||||
function __(text) {
|
||||
var index = locale[text];
|
||||
if (index === undefined)
|
||||
return text;
|
||||
return index;
|
||||
};
|
||||
|
||||
function setLanguage(language) {
|
||||
locale = locales[language];
|
||||
}
|
||||
function setLanguage(language) {
|
||||
locale = locales[language];
|
||||
}
|
||||
|
||||
return {
|
||||
__: __,
|
||||
locales: locales,
|
||||
locale: locale,
|
||||
setLanguage: setLanguage
|
||||
};
|
||||
return {
|
||||
__ : __,
|
||||
locales : locales,
|
||||
locale : locale,
|
||||
setLanguage: setLanguage
|
||||
};
|
||||
});
|
||||
|
|
|
@ -1,25 +1,25 @@
|
|||
define({
|
||||
nl: {
|
||||
'Allowed values:': 'Toegestane waarden:',
|
||||
'Compare all with predecessor': 'Vergelijk alle met voorgaande versie',
|
||||
'compare changes to:': 'vergelijk veranderingen met:',
|
||||
'compared to': 'vergelijk met',
|
||||
'Default value:': 'Standaard waarde:',
|
||||
'Description': 'Omschrijving',
|
||||
'Field': 'Veld',
|
||||
'General': 'Algemeen',
|
||||
'Generated with': 'Gegenereerd met',
|
||||
'Name': 'Naam',
|
||||
'No response values.': 'Geen response waardes.',
|
||||
'optional': 'optioneel',
|
||||
'Parameter': 'Parameter',
|
||||
'Permission:': 'Permissie:',
|
||||
'Response': 'Antwoorden',
|
||||
'Send': 'Sturen',
|
||||
'Send a Sample Request': 'Stuur een sample aanvragen',
|
||||
'show up to version:': 'toon tot en met versie:',
|
||||
'Size range:': 'Maatbereik:',
|
||||
'Type': 'Type',
|
||||
'url': 'url'
|
||||
}
|
||||
nl: {
|
||||
'Allowed values:' : 'Toegestane waarden:',
|
||||
'Compare all with predecessor': 'Vergelijk alle met voorgaande versie',
|
||||
'compare changes to:' : 'vergelijk veranderingen met:',
|
||||
'compared to' : 'vergelijk met',
|
||||
'Default value:' : 'Standaard waarde:',
|
||||
'Description' : 'Omschrijving',
|
||||
'Field' : 'Veld',
|
||||
'General' : 'Algemeen',
|
||||
'Generated with' : 'Gegenereerd met',
|
||||
'Name' : 'Naam',
|
||||
'No response values.' : 'Geen response waardes.',
|
||||
'optional' : 'optioneel',
|
||||
'Parameter' : 'Parameter',
|
||||
'Permission:' : 'Permissie:',
|
||||
'Response' : 'Antwoorden',
|
||||
'Send' : 'Sturen',
|
||||
'Send a Sample Request' : 'Stuur een sample aanvragen',
|
||||
'show up to version:' : 'toon tot en met versie:',
|
||||
'Size range:' : 'Maatbereik:',
|
||||
'Type' : 'Type',
|
||||
'url' : 'url'
|
||||
}
|
||||
});
|
||||
|
|
|
@ -1,25 +1,25 @@
|
|||
define({
|
||||
pl: {
|
||||
'Allowed values:': 'Dozwolone wartości:',
|
||||
'Compare all with predecessor': 'Porównaj z poprzednimi wersjami',
|
||||
'compare changes to:': 'porównaj zmiany do:',
|
||||
'compared to': 'porównaj do:',
|
||||
'Default value:': 'Wartość domyślna:',
|
||||
'Description': 'Opis',
|
||||
'Field': 'Pole',
|
||||
'General': 'Generalnie',
|
||||
'Generated with': 'Wygenerowano z',
|
||||
'Name': 'Nazwa',
|
||||
'No response values.': 'Brak odpowiedzi.',
|
||||
'optional': 'opcjonalny',
|
||||
'Parameter': 'Parametr',
|
||||
'Permission:': 'Uprawnienia:',
|
||||
'Response': 'Odpowiedź',
|
||||
'Send': 'Wyślij',
|
||||
'Send a Sample Request': 'Wyślij przykładowe żądanie',
|
||||
'show up to version:': 'pokaż do wersji:',
|
||||
'Size range:': 'Zakres rozmiaru:',
|
||||
'Type': 'Typ',
|
||||
'url': 'url'
|
||||
}
|
||||
pl: {
|
||||
'Allowed values:' : 'Dozwolone wartości:',
|
||||
'Compare all with predecessor': 'Porównaj z poprzednimi wersjami',
|
||||
'compare changes to:' : 'porównaj zmiany do:',
|
||||
'compared to' : 'porównaj do:',
|
||||
'Default value:' : 'Wartość domyślna:',
|
||||
'Description' : 'Opis',
|
||||
'Field' : 'Pole',
|
||||
'General' : 'Generalnie',
|
||||
'Generated with' : 'Wygenerowano z',
|
||||
'Name' : 'Nazwa',
|
||||
'No response values.' : 'Brak odpowiedzi.',
|
||||
'optional' : 'opcjonalny',
|
||||
'Parameter' : 'Parametr',
|
||||
'Permission:' : 'Uprawnienia:',
|
||||
'Response' : 'Odpowiedź',
|
||||
'Send' : 'Wyślij',
|
||||
'Send a Sample Request' : 'Wyślij przykładowe żądanie',
|
||||
'show up to version:' : 'pokaż do wersji:',
|
||||
'Size range:' : 'Zakres rozmiaru:',
|
||||
'Type' : 'Typ',
|
||||
'url' : 'url'
|
||||
}
|
||||
});
|
||||
|
|
|
@ -1,25 +1,25 @@
|
|||
define({
|
||||
'pt_br': {
|
||||
'Allowed values:': 'Valores permitidos:',
|
||||
'Compare all with predecessor': 'Compare todos com antecessores',
|
||||
'compare changes to:': 'comparar alterações com:',
|
||||
'compared to': 'comparado com',
|
||||
'Default value:': 'Valor padrão:',
|
||||
'Description': 'Descrição',
|
||||
'Field': 'Campo',
|
||||
'General': 'Geral',
|
||||
'Generated with': 'Gerado com',
|
||||
'Name': 'Nome',
|
||||
'No response values.': 'Sem valores de resposta.',
|
||||
'optional': 'opcional',
|
||||
'Parameter': 'Parâmetro',
|
||||
'Permission:': 'Permissão:',
|
||||
'Response': 'Resposta',
|
||||
'Send': 'Enviar',
|
||||
'Send a Sample Request': 'Enviar um Exemplo de Pedido',
|
||||
'show up to version:': 'aparecer para a versão:',
|
||||
'Size range:': 'Faixa de tamanho:',
|
||||
'Type': 'Tipo',
|
||||
'url': 'url'
|
||||
}
|
||||
'pt_br': {
|
||||
'Allowed values:' : 'Valores permitidos:',
|
||||
'Compare all with predecessor': 'Compare todos com antecessores',
|
||||
'compare changes to:' : 'comparar alterações com:',
|
||||
'compared to' : 'comparado com',
|
||||
'Default value:' : 'Valor padrão:',
|
||||
'Description' : 'Descrição',
|
||||
'Field' : 'Campo',
|
||||
'General' : 'Geral',
|
||||
'Generated with' : 'Gerado com',
|
||||
'Name' : 'Nome',
|
||||
'No response values.' : 'Sem valores de resposta.',
|
||||
'optional' : 'opcional',
|
||||
'Parameter' : 'Parâmetro',
|
||||
'Permission:' : 'Permissão:',
|
||||
'Response' : 'Resposta',
|
||||
'Send' : 'Enviar',
|
||||
'Send a Sample Request' : 'Enviar um Exemplo de Pedido',
|
||||
'show up to version:' : 'aparecer para a versão:',
|
||||
'Size range:' : 'Faixa de tamanho:',
|
||||
'Type' : 'Tipo',
|
||||
'url' : 'url'
|
||||
}
|
||||
});
|
||||
|
|
|
@ -1,25 +1,25 @@
|
|||
define({
|
||||
ro: {
|
||||
'Allowed values:': 'Valori permise:',
|
||||
'Compare all with predecessor': 'Compară toate cu versiunea precedentă',
|
||||
'compare changes to:': 'compară cu versiunea:',
|
||||
'compared to': 'comparat cu',
|
||||
'Default value:': 'Valoare implicită:',
|
||||
'Description': 'Descriere',
|
||||
'Field': 'Câmp',
|
||||
'General': 'General',
|
||||
'Generated with': 'Generat cu',
|
||||
'Name': 'Nume',
|
||||
'No response values.': 'Nici o valoare returnată.',
|
||||
'optional': 'opțional',
|
||||
'Parameter': 'Parametru',
|
||||
'Permission:': 'Permisiune:',
|
||||
'Response': 'Răspuns',
|
||||
'Send': 'Trimite',
|
||||
'Send a Sample Request': 'Trimite o cerere de probă',
|
||||
'show up to version:': 'arată până la versiunea:',
|
||||
'Size range:': 'Interval permis:',
|
||||
'Type': 'Tip',
|
||||
'url': 'url'
|
||||
}
|
||||
ro: {
|
||||
'Allowed values:' : 'Valori permise:',
|
||||
'Compare all with predecessor': 'Compară toate cu versiunea precedentă',
|
||||
'compare changes to:' : 'compară cu versiunea:',
|
||||
'compared to' : 'comparat cu',
|
||||
'Default value:' : 'Valoare implicită:',
|
||||
'Description' : 'Descriere',
|
||||
'Field' : 'Câmp',
|
||||
'General' : 'General',
|
||||
'Generated with' : 'Generat cu',
|
||||
'Name' : 'Nume',
|
||||
'No response values.' : 'Nici o valoare returnată.',
|
||||
'optional' : 'opțional',
|
||||
'Parameter' : 'Parametru',
|
||||
'Permission:' : 'Permisiune:',
|
||||
'Response' : 'Răspuns',
|
||||
'Send' : 'Trimite',
|
||||
'Send a Sample Request' : 'Trimite o cerere de probă',
|
||||
'show up to version:' : 'arată până la versiunea:',
|
||||
'Size range:' : 'Interval permis:',
|
||||
'Type' : 'Tip',
|
||||
'url' : 'url'
|
||||
}
|
||||
});
|
||||
|
|
|
@ -1,25 +1,25 @@
|
|||
define({
|
||||
ru: {
|
||||
'Allowed values:': 'Допустимые значения:',
|
||||
'Compare all with predecessor': 'Сравнить с предыдущей версией',
|
||||
'compare changes to:': 'сравнить с:',
|
||||
'compared to': 'в сравнении с',
|
||||
'Default value:': 'По умолчанию:',
|
||||
'Description': 'Описание',
|
||||
'Field': 'Название',
|
||||
'General': 'Общая информация',
|
||||
'Generated with': 'Сгенерировано с помощью',
|
||||
'Name': 'Название',
|
||||
'No response values.': 'Нет значений для ответа.',
|
||||
'optional': 'необязательный',
|
||||
'Parameter': 'Параметр',
|
||||
'Permission:': 'Разрешено:',
|
||||
'Response': 'Ответ',
|
||||
'Send': 'Отправить',
|
||||
'Send a Sample Request': 'Отправить тестовый запрос',
|
||||
'show up to version:': 'показать версию:',
|
||||
'Size range:': 'Ограничения:',
|
||||
'Type': 'Тип',
|
||||
'url': 'URL'
|
||||
}
|
||||
ru: {
|
||||
'Allowed values:' : 'Допустимые значения:',
|
||||
'Compare all with predecessor': 'Сравнить с предыдущей версией',
|
||||
'compare changes to:' : 'сравнить с:',
|
||||
'compared to' : 'в сравнении с',
|
||||
'Default value:' : 'По умолчанию:',
|
||||
'Description' : 'Описание',
|
||||
'Field' : 'Название',
|
||||
'General' : 'Общая информация',
|
||||
'Generated with' : 'Сгенерировано с помощью',
|
||||
'Name' : 'Название',
|
||||
'No response values.' : 'Нет значений для ответа.',
|
||||
'optional' : 'необязательный',
|
||||
'Parameter' : 'Параметр',
|
||||
'Permission:' : 'Разрешено:',
|
||||
'Response' : 'Ответ',
|
||||
'Send' : 'Отправить',
|
||||
'Send a Sample Request' : 'Отправить тестовый запрос',
|
||||
'show up to version:' : 'показать версию:',
|
||||
'Size range:' : 'Ограничения:',
|
||||
'Type' : 'Тип',
|
||||
'url' : 'URL'
|
||||
}
|
||||
});
|
||||
|
|
|
@ -1,25 +1,25 @@
|
|||
define({
|
||||
tr: {
|
||||
'Allowed values:': 'İzin verilen değerler:',
|
||||
'Compare all with predecessor': 'Tümünü öncekiler ile karşılaştır',
|
||||
'compare changes to:': 'değişiklikleri karşılaştır:',
|
||||
'compared to': 'karşılaştır',
|
||||
'Default value:': 'Varsayılan değer:',
|
||||
'Description': 'Açıklama',
|
||||
'Field': 'Alan',
|
||||
'General': 'Genel',
|
||||
'Generated with': 'Oluşturan',
|
||||
'Name': 'İsim',
|
||||
'No response values.': 'Dönüş verisi yok.',
|
||||
'optional': 'opsiyonel',
|
||||
'Parameter': 'Parametre',
|
||||
'Permission:': 'İzin:',
|
||||
'Response': 'Dönüş',
|
||||
'Send': 'Gönder',
|
||||
'Send a Sample Request': 'Örnek istek gönder',
|
||||
'show up to version:': 'bu versiyona kadar göster:',
|
||||
'Size range:': 'Boyut aralığı:',
|
||||
'Type': 'Tip',
|
||||
'url': 'url'
|
||||
}
|
||||
tr: {
|
||||
'Allowed values:' : 'İzin verilen değerler:',
|
||||
'Compare all with predecessor': 'Tümünü öncekiler ile karşılaştır',
|
||||
'compare changes to:' : 'değişiklikleri karşılaştır:',
|
||||
'compared to' : 'karşılaştır',
|
||||
'Default value:' : 'Varsayılan değer:',
|
||||
'Description' : 'Açıklama',
|
||||
'Field' : 'Alan',
|
||||
'General' : 'Genel',
|
||||
'Generated with' : 'Oluşturan',
|
||||
'Name' : 'İsim',
|
||||
'No response values.' : 'Dönüş verisi yok.',
|
||||
'optional' : 'opsiyonel',
|
||||
'Parameter' : 'Parametre',
|
||||
'Permission:' : 'İzin:',
|
||||
'Response' : 'Dönüş',
|
||||
'Send' : 'Gönder',
|
||||
'Send a Sample Request' : 'Örnek istek gönder',
|
||||
'show up to version:' : 'bu versiyona kadar göster:',
|
||||
'Size range:' : 'Boyut aralığı:',
|
||||
'Type' : 'Tip',
|
||||
'url' : 'url'
|
||||
}
|
||||
});
|
||||
|
|
|
@ -1,25 +1,25 @@
|
|||
define({
|
||||
vi: {
|
||||
'Allowed values:': 'Giá trị chấp nhận:',
|
||||
'Compare all with predecessor': 'So sánh với tất cả phiên bản trước',
|
||||
'compare changes to:': 'so sánh sự thay đổi với:',
|
||||
'compared to': 'so sánh với',
|
||||
'Default value:': 'Giá trị mặc định:',
|
||||
'Description': 'Chú thích',
|
||||
'Field': 'Trường dữ liệu',
|
||||
'General': 'Tổng quan',
|
||||
'Generated with': 'Được tạo bởi',
|
||||
'Name': 'Tên',
|
||||
'No response values.': 'Không có kết quả trả về.',
|
||||
'optional': 'Tùy chọn',
|
||||
'Parameter': 'Tham số',
|
||||
'Permission:': 'Quyền hạn:',
|
||||
'Response': 'Kết quả',
|
||||
'Send': 'Gửi',
|
||||
'Send a Sample Request': 'Gửi một yêu cầu mẫu',
|
||||
'show up to version:': 'hiển thị phiên bản:',
|
||||
'Size range:': 'Kích cỡ:',
|
||||
'Type': 'Kiểu',
|
||||
'url': 'liên kết'
|
||||
}
|
||||
vi: {
|
||||
'Allowed values:' : 'Giá trị chấp nhận:',
|
||||
'Compare all with predecessor': 'So sánh với tất cả phiên bản trước',
|
||||
'compare changes to:' : 'so sánh sự thay đổi với:',
|
||||
'compared to' : 'so sánh với',
|
||||
'Default value:' : 'Giá trị mặc định:',
|
||||
'Description' : 'Chú thích',
|
||||
'Field' : 'Trường dữ liệu',
|
||||
'General' : 'Tổng quan',
|
||||
'Generated with' : 'Được tạo bởi',
|
||||
'Name' : 'Tên',
|
||||
'No response values.' : 'Không có kết quả trả về.',
|
||||
'optional' : 'Tùy chọn',
|
||||
'Parameter' : 'Tham số',
|
||||
'Permission:' : 'Quyền hạn:',
|
||||
'Response' : 'Kết quả',
|
||||
'Send' : 'Gửi',
|
||||
'Send a Sample Request' : 'Gửi một yêu cầu mẫu',
|
||||
'show up to version:' : 'hiển thị phiên bản:',
|
||||
'Size range:' : 'Kích cỡ:',
|
||||
'Type' : 'Kiểu',
|
||||
'url' : 'liên kết'
|
||||
}
|
||||
});
|
||||
|
|
|
@ -1,25 +1,25 @@
|
|||
define({
|
||||
zh: {
|
||||
'Allowed values:': '允許值:',
|
||||
'Compare all with predecessor': '預先比較所有',
|
||||
'compare changes to:': '比較變更:',
|
||||
'compared to': '對比',
|
||||
'Default value:': '默認值:',
|
||||
'Description': '描述',
|
||||
'Field': '字段',
|
||||
'General': '概括',
|
||||
'Generated with': '生成工具',
|
||||
'Name': '名稱',
|
||||
'No response values.': '無對應資料.',
|
||||
'optional': '選項',
|
||||
'Parameter': '參數',
|
||||
'Permission:': '允許:',
|
||||
'Response': '回應',
|
||||
'Send': '發送',
|
||||
'Send a Sample Request': '發送試用需求',
|
||||
'show up to version:': '顯示到版本:',
|
||||
'Size range:': '尺寸範圍:',
|
||||
'Type': '類型',
|
||||
'url': '網址'
|
||||
}
|
||||
zh: {
|
||||
'Allowed values:' : '允許值:',
|
||||
'Compare all with predecessor': '預先比較所有',
|
||||
'compare changes to:' : '比較變更:',
|
||||
'compared to' : '對比',
|
||||
'Default value:' : '默認值:',
|
||||
'Description' : '描述',
|
||||
'Field' : '字段',
|
||||
'General' : '概括',
|
||||
'Generated with' : '生成工具',
|
||||
'Name' : '名稱',
|
||||
'No response values.' : '無對應資料.',
|
||||
'optional' : '選項',
|
||||
'Parameter' : '參數',
|
||||
'Permission:' : '允許:',
|
||||
'Response' : '回應',
|
||||
'Send' : '發送',
|
||||
'Send a Sample Request' : '發送試用需求',
|
||||
'show up to version:' : '顯示到版本:',
|
||||
'Size range:' : '尺寸範圍:',
|
||||
'Type' : '類型',
|
||||
'url' : '網址'
|
||||
}
|
||||
});
|
||||
|
|
|
@ -1,25 +1,25 @@
|
|||
define({
|
||||
'zh_cn': {
|
||||
'Allowed values:': '允许值:',
|
||||
'Compare all with predecessor': '与所有较早的比较',
|
||||
'compare changes to:': '将当前版本与指定版本比较:',
|
||||
'compared to': '相比于',
|
||||
'Default value:': '默认值:',
|
||||
'Description': '描述',
|
||||
'Field': '字段',
|
||||
'General': '概要',
|
||||
'Generated with': '基于',
|
||||
'Name': '名称',
|
||||
'No response values.': '无返回值.',
|
||||
'optional': '可选',
|
||||
'Parameter': '参数',
|
||||
'Permission:': '权限:',
|
||||
'Response': '返回',
|
||||
'Send': '发送',
|
||||
'Send a Sample Request': '发送示例请求',
|
||||
'show up to version:': '显示到指定版本:',
|
||||
'Size range:': '取值范围:',
|
||||
'Type': '类型',
|
||||
'url': '网址'
|
||||
}
|
||||
'zh_cn': {
|
||||
'Allowed values:' : '允许值:',
|
||||
'Compare all with predecessor': '与所有较早的比较',
|
||||
'compare changes to:' : '将当前版本与指定版本比较:',
|
||||
'compared to' : '相比于',
|
||||
'Default value:' : '默认值:',
|
||||
'Description' : '描述',
|
||||
'Field' : '字段',
|
||||
'General' : '概要',
|
||||
'Generated with' : '基于',
|
||||
'Name' : '名称',
|
||||
'No response values.' : '无返回值.',
|
||||
'optional' : '可选',
|
||||
'Parameter' : '参数',
|
||||
'Permission:' : '权限:',
|
||||
'Response' : '返回',
|
||||
'Send' : '发送',
|
||||
'Send a Sample Request' : '发送示例请求',
|
||||
'show up to version:' : '显示到指定版本:',
|
||||
'Size range:' : '取值范围:',
|
||||
'Type' : '类型',
|
||||
'url' : '网址'
|
||||
}
|
||||
});
|
||||
|
|
1575
apidoc/main.js
1575
apidoc/main.js
Fichier diff supprimé car celui-ci est trop grand
Voir la Diff
|
@ -515,7 +515,7 @@ func APILoginHandler(c *gin.Context) {
|
|||
}
|
||||
|
||||
/**
|
||||
* @api {post} /profile/ Get a user profile
|
||||
* @api {get} /profile/ Get a user profile
|
||||
* @apiVersion 1.1.1
|
||||
* @apiName Profile
|
||||
* @apiGroup Users
|
||||
|
|
Référencer dans un nouveau ticket