a b c d e f g h i j k l m n o p q r s t u v w x y z
elpa-tp
Source: tp-el
Package: elpa-tp
Versions: elpa-tp (0.6-1), elpa-tp (0.6-2), elpa-tp (0.7-1), elpa-tp (0.8-1), elpa-tp (0.9-1)
Prioritize: 47
Description: Utilities for transient menus that POST to an API
Some functions, classes and methods to make it easier to create
transient menus that send complex POST, PUT, or PATCH requests to JSON
APIs.
.
A typical use-case is where you have a single endpoint that takes many
different parameters. It's handy for a user to be able to set all the
options, then make a single request to change all the settings on the
server. It's also expected that they'll be able to view all the current
settings on the server, and make modifications to them for sending.
.
The classes and methods define some transient behaviours that make
sense for dealing with APIs:
.
- It handles fetching and saving current server settings, and initialize
its transients with the values fetched
- It compares the state of a current transient option against the server
values
- It distinguishes the formatting of server settings and current transient
setting
- When reading a string from the user, it provides the server setting as
default input
- It can seemlessly handle making requests with arrays, i.e. =source[key]=,
or =field[1][name]= parameters
- It can easily fetch an infix's allowed values for =completing-read=
- It (usually) only sends changed values to the server.
The da-translation:
Description-da: Redskaber for gennemsigtige menuer der POST til en API
Nogle funktioner, klasser og metoder der gør det nemmere at oprette gennemsigtige menuer, der sender komplekse POST-, PUT- eller PATCH-forespørgsler til JSON API'er.
.
En typisk brug er hvor du har et enkelt slutpunkt, der bruger mange forskellige parametre. Det er godt for en bruger at kunne angive alle tilvalg, for så at lave en enkel forespørgsel til at ændre alle indstillingerne på serveren. Det forventes også, at de kan se alle de nuværende indstillinger på serverne og lave ændringer til dem for afsendelse.
parts-md5sum:
28ac57e4d50aeb7c1d43dde0b4518866 translated
5c2f06e3075b6d510e8b0e7d10c99f5a translated
070d83a4750ec026a6f2f8c4209faf41 translated
61a164c2305de072ce70ecfab3d0abb2 not translated
c300d2bd7e99ad1c48ad0d998179547c not translated