Code Monkey home page Code Monkey logo

Comments (3)

xor-xor avatar xor-xor commented on July 1, 2024

Could you post somewhere the contents of your ~/.tipboard/settings-local.py and relevant layout_config.yaml files..?

And also, I understand that you are referring to all available API resources (i.e. not only to DELETE, which deletes the key as well)..?

from tipboard.

regner avatar regner commented on July 1, 2024

I am also getting this:

contents of eve_dev_overview.yaml

details:
    page_title: eve_dev_overview
layout:
    - row_1_of_3:
        - col_1_of_5:
            - tile_template: just_value
              tile_id: id_01
              title: Hanna (Phoebe) Staging
        - col_1_of_5:
            - tile_template: empty
              tile_id: id_02
              title: Empty Tile 2
        - col_1_of_5:
            - tile_template: empty
              tile_id: id_03
              title: Empty Tile 3
        - col_2_of_5:
            - tile_template: empty
              tile_id: id_04
              title: Empty Tile 4

    - row_1_of_3:
        - col_1_of_5:
            - tile_template: empty
              tile_id: id_05
              title: Empty Tile 5
        - col_1_of_5:
            - tile_template: empty
              tile_id: id_06
              title: Empty Tile 6
        - col_1_of_5:
            - tile_template: empty
              tile_id: id_07
              title: Empty Tile 7
        - col_2_of_5:
            - tile_template: empty
              tile_id: id_08
              title: Empty Tile 8

    - row_1_of_3:
        - col_1_of_5:
            - tile_template: empty
              tile_id: id_09
              title: Empty Tile 9
        - col_1_of_5:
            - tile_template: empty
              tile_id: id_10
              title: Empty Tile 10
        - col_1_of_5:
            - tile_template: empty
              tile_id: id_11
              title: Empty Tile 11
        - col_2_of_5:
            - tile_template: empty
              tile_id: id_12
              title: Empty Tile 12

my settings-local.py

#!/usr/bin/env python
# -*- coding: utf-8 -*-

from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals

API_KEY = 'noyoudont'

I have tried lots of different requests, but for example simply doing a POST to http://localhost:8080/api/v0.1/noyoudont/tileconfig/id_02 with Postman and value={} (for testing) results in "Can't find key id_02."

from tipboard.

xor-xor avatar xor-xor commented on July 1, 2024

Hi,
First of all, sorry for such delayed response!

Two things to consider here:

  • in order to post a config for a given tile, its key has to be in Redis already - otherwise you'll get a 404 error (i.e. the same as the one that you've described); such key is created automatically when you post the data for your tile (through the push resource) - having that in mind, you should post the data first and then the config;
  • it doesn't make much sense to post config for empty tile, though (although technically it's correct) 😉

HTH

from tipboard.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.