Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hello All, How Can I Access The Restful Api. Any Docs Available?

Hello All, how can I access the restful api. any docs available?

  
  
Posted 3 years ago
Votes Newest

Answers 3


Hi JuicyDog96
The easiest way at the moment (apologies for still lack of RestAPI documentation, it is coming:)
Is actually the code (full docstring doc)
https://github.com/allegroai/trains/tree/master/trains/backend_api/services/v2_8
You can access it all with an easy Pythonic interface, for example:
from trains.backend_api.session.client import APIClient client = APIClient() tasks = client.tasks.get_all()

  
  
Posted 3 years ago

JuicyDog96 Yes please!
Let me check what's the status with the docs repository, and I'll get back to you soon 🙂

  
  
Posted 3 years ago

ok cool, can I contribute and write these docs?

  
  
Posted 3 years ago
529 Views
3 Answers
3 years ago
one year ago
Tags