📜 ⬆️ ⬇️

Pre-New Year's Release API and Portal Scorocode



Hello, Habr. Happy you! As promised, by the end of the year, the API and portal Scorocode were updated.

Key innovations:
')

And we have a share !

Details under the cut.

Application Management API


Expanded API protocol to include almost all internal methods. Now, after creating the application in your account, you can manage collections, fields, indexes, scripts, and triggers through the API. This enables our clients to implement their own backoffice for administering applications.

All the new methods, according to the established tradition, are implemented as POST requests with JSON content, the response from the API also comes in JSON.

application


  1. Getting an application with the entire collection structure and settings

Collections


  1. Getting a list of collections
  2. Getting a specific collection
  3. Creating a collection
  4. Change collection
  5. Deleting a collection
  6. Cloning collection

Fields Collection


  1. Creating a collection field
  2. Deleting a collection field

Collection indices


  1. Creating an index on the collection fields, incl. composite
  2. Deleting a collection index

Server scripts


  1. Get application folders and scripts along the way
  2. Creating a new folder
  3. Deleting the folder with all its contents
  4. Getting the script
  5. Creating a new script
  6. Change script
  7. Script removal

Telegram bots


Yes Yes. And we are there too. Now we can host Telegram bots. Event processing from the bot is written in the server script, which is tied to the bot. Since in server scripts we have full support for npm, the scope for implementing various bots is limitless.
API methods for working with bots:

  1. Create bot
  2. Change bot
  3. Remove the bot

Portal


The portal has become bilingual, English has been added. The reason was that we had foreign users, and of course, plans to enter foreign markets are great. The entire portal was rewritten to react + redux, which made it comfortable and responsive.

Pleasant trifles:

  1. Working with data in tables has become more convenient and understandable, especially in the part of working with fields of Relation and Pointer types.
  2. In server scripts you can now run the script and see the console output from it.

By the way, according to claim 2, many requests were to implement a field for entering the input parameter pool of the script for debugging. We decided not to do this in order not to overload the interface. You can always write at the time of debugging “in the first lines” of your script:

pool.myData = "some test input data" 

Documentation


Translated the documentation on the mkdocs engine. Added descriptions of the new API. Read more about innovations in recycled documentation .

Promotion 1 * (fullPrice / 10) == 3 * fullPrice


And now the best part. We are launching the New Year's action until December 31, 2016 - switching to the Indie tariff for just 990 rubles for 3 (!) Months. Here is such a mathematics.

The tariff gives access to the marketplace, increased server code execution time and the number of requests to the API, more PUSH notifications and enhanced cloud storage.

You can replenish the balance in your personal account with any card. You can pay for the promotion tariff in the Settings of the application on the Tariff Plan tab.

Extra bun


Ready for the recognition of texts from images using the engine ABBYY, but not yet included in production for the masses, that is, access to corporate projects only. Since the function is paid, about 2 rubles. for page A4, I would like to hear the opinion of a respected community on the relevance of this function. If you say you need it, turn it on.

Source: https://habr.com/ru/post/317450/


All Articles